14.1: Color Overlay, Inner Glow and Inner Shadow recolour translucent pixels fully; Add layer effect

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 02:06:08 -04:00
1 parent 117b66f5c5
commit fa0d38666f
7 files changed
+142 -19

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ LayersPanel::LayersPanel(EditorSession &session, QWidget *parent)
footer->addWidget(m_group);
footer->addWidget(new LayerMaskMenu(session, this));
// Presses open these menus; a click adds nothing.
m_effects = footerButton(QStringLiteral("layerEffects"), QStringLiteral("Layer effects"), QStringLiteral("Layer effects: stroke and drop shadow"), [] {});
m_effects = footerButton(QStringLiteral("layerEffects"), QStringLiteral("Layer effects"), QStringLiteral("Add layer effect"), [] {});
auto *effects = new QMenu(m_effects);
for (const LayerEffectKind kind : allLayerEffectKinds)
effects->addAction(rawValue(kind) + QStringLiteral("…"), this, [this, kind] { m_session.addEffect(kind); });