mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Now the status-bar text is cleared when the mouse leave widgets like Editor and ToolBar.
This commit is contained in:
parent
c78f467ee4
commit
b37886b052
@ -331,9 +331,8 @@ bool ColorBar::msg_proc(JMessage msg)
|
||||
if (m_hot != HOTCOLOR_NONE) {
|
||||
m_hot = HOTCOLOR_NONE;
|
||||
dirty();
|
||||
|
||||
app_get_statusbar()->setStatusText(0, "");
|
||||
}
|
||||
app_get_statusbar()->clearText();
|
||||
break;
|
||||
|
||||
case JM_WHEEL:
|
||||
|
@ -934,6 +934,8 @@ bool Editor::msg_proc(JMessage msg)
|
||||
if (m_alt_pressed) m_alt_pressed = false;
|
||||
if (m_ctrl_pressed) m_ctrl_pressed = false;
|
||||
if (m_space_pressed) m_space_pressed = false;
|
||||
|
||||
app_get_statusbar()->clearText();
|
||||
break;
|
||||
|
||||
case JM_BUTTONPRESSED:
|
||||
|
@ -343,6 +343,8 @@ bool ToolBar::msg_proc(JMessage msg)
|
||||
m_hot_tool = NULL;
|
||||
m_hot_conf = false;
|
||||
dirty();
|
||||
|
||||
app_get_statusbar()->clearText();
|
||||
break;
|
||||
|
||||
case JM_TIMER:
|
||||
|
Loading…
x
Reference in New Issue
Block a user