12.2a: folders duplicate with their contents, folder opacity, format version 8, View > Snap (Compositor 1.1.5–1.1.6)

This commit is contained in:
雷电芽衣 committed 2026-09-26 18:17:14 -04:00
1 parent ee34c338d4
commit f1b2c65c1e
52 files changed
+909 -239

No files matched your search

+5 -2
View File
@@ -28,7 +28,8 @@ LayerAppearanceControls::LayerAppearanceControls(EditorSession &session, QWidget
column->setContentsMargins(12, 12, 12, 12);
column->setSpacing(8);
auto *blend = new QHBoxLayout;
blend->addWidget(caption(QStringLiteral("Blend"), this));
m_blendCaption = caption(QStringLiteral("Blend"), this);
blend->addWidget(m_blendCaption);
blend->addWidget(m_picker, 1);
column->addLayout(blend);
auto *opacity = new QHBoxLayout;
@@ -74,7 +75,9 @@ LayerAppearanceControls::~LayerAppearanceControls()
void LayerAppearanceControls::synchronize()
{
setEnabled(m_session.canEditAppearance());
// A folder takes an opacity; blending rests with the picker.
setEnabled(m_session.canEditOpacity());
m_blendCaption->setEnabled(m_session.canEditAppearance());
const std::optional<ImageLayer> active = m_session.activeLayer();
const double opacity = active ? active->opacity : 1;
m_syncing = true;