mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 22:18:30 +00:00
Update the status bar depending on the Editor text when the tool changes
It fixes a problem were PaletteView was clearing the StatusBar set by the Editor when a quicktool keyboard shortcut was pressed.
This commit is contained in:
parent
93c616cd7b
commit
97ebd70048
@ -1362,6 +1362,7 @@ void Editor::onInvalidateRegion(const gfx::Region& region)
|
||||
void Editor::onActiveToolChange(tools::Tool* tool)
|
||||
{
|
||||
m_state->onActiveToolChange(this, tool);
|
||||
updateStatusBar();
|
||||
}
|
||||
|
||||
void Editor::onFgColorChange()
|
||||
|
@ -280,7 +280,8 @@ bool PaletteView::onProcessMessage(Message* msg)
|
||||
case kKeyDownMessage:
|
||||
case kKeyUpMessage:
|
||||
case kMouseEnterMessage:
|
||||
updateCopyFlag(msg);
|
||||
if (hasMouse())
|
||||
updateCopyFlag(msg);
|
||||
break;
|
||||
|
||||
case kMouseDownMessage:
|
||||
|
Loading…
Reference in New Issue
Block a user