mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 04:20:23 +00:00
Update status bar and mouse cursor when editor scroll changes
This commit is contained in:
parent
3b9274b9b5
commit
ffdb5f2e42
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user