mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Generate a palette change event when a color entry is modified
using the Palette Editor (and set_current_palette() is not used).
This commit is contained in:
parent
e74bebcc79
commit
9b658ad24b
@ -327,6 +327,10 @@ bool PaletteEntryEditor::onProcessMessage(Message* msg)
|
||||
m_redrawAll = false;
|
||||
jmanager_stop_timer(m_redrawTimerId);
|
||||
|
||||
// Call all listener of PaletteChange event.
|
||||
App::instance()->PaletteChange();
|
||||
|
||||
// Redraw all editors
|
||||
try {
|
||||
const ActiveDocumentReader document(UIContext::instance());
|
||||
update_editors_with_document(document);
|
||||
|
Loading…
x
Reference in New Issue
Block a user