Photoshop's remaining blend modes in its groups (12.7a); v1.2.2 kernels for 12.7b

This commit is contained in:
雷电芽衣 committed 2026-09-27 12:50:33 -04:00
1 parent 29eab10edc
commit 7d47cc367a
26 files changed
+348 -56

No files matched your search

+5 -1
View File
@@ -4,8 +4,12 @@ BlendModePicker::BlendModePicker(EditorSession &session, QWidget *parent) : QCom
{
setAccessibleName(QStringLiteral("Blend mode"));
setObjectName(QStringLiteral("blendMode"));
for (const LayerBlendMode mode : allLayerBlendModes)
// Grouped as Photoshop groups them, a line between.
for (const LayerBlendMode mode : allLayerBlendModes) {
if (count() && blendGroup(mode) != blendGroup(*layerBlendMode(itemText(count() - 1))))
insertSeparator(count());
addItem(rawValue(mode));
}
connect(this, &QComboBox::highlighted, this, &BlendModePicker::highlight);
connect(this, &QComboBox::activated, this, &BlendModePicker::choose);
connect(&m_session, &EditorSession::changed, this, &BlendModePicker::synchronize);