Closing the picker gives open text the keys back; colour edits wait for text editing (12.14d2)

This commit is contained in:
雷电芽衣 committed 2026-09-30 06:16:28 -04:00
1 parent 27a4fe8428
commit aa5a44e517
10 files changed
+217 -10

No files matched your search

+3
View File
@@ -257,6 +257,9 @@ void EditorSession::closeColorPicker(bool commit)
const PaletteColor chosen = commit ? color : picker.original;
changeEffects([&](LayerEffects &effects) { effects.setColor(chosen, picker.target.effect); });
}
// Sampling took the keys from open text: they go back.
if (m_textDraft)
++m_canvasFocusRequest;
notify();
}