Update status bar and mouse cursor when editor scroll changes

This commit is contained in:
David Capello 2020-03-20 15:04:53 -03:00
parent 3b9274b9b5
commit ffdb5f2e42

View File

@ -2479,6 +2479,12 @@ void Editor::notifyScrollChanged()
ASSERT(m_state);
if (m_state)
m_state->onScrollChange(this);
// Update status bar and mouse cursor
if (hasMouse()) {
updateStatusBar();
setCursor(ui::get_mouse_position());
}
}
void Editor::notifyZoomChanged()