mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-10 19:13:29 +00:00
Avoid updating the status bar from the Editor and Timeline at the same time (close #603)
This commit is contained in:
parent
b4d3e5681e
commit
97d59a94c9
@ -1053,6 +1053,9 @@ void Editor::centerInSpritePoint(const gfx::Point& spritePos)
|
||||
|
||||
void Editor::updateStatusBar()
|
||||
{
|
||||
if (!hasMouse())
|
||||
return;
|
||||
|
||||
// Setup status bar using the current editor's state
|
||||
m_state->onUpdateStatusBar(this);
|
||||
}
|
||||
|
@ -1851,6 +1851,9 @@ void Timeline::setHot(const Hit& hit)
|
||||
|
||||
void Timeline::updateStatusBar(ui::Message* msg)
|
||||
{
|
||||
if (!hasMouse())
|
||||
return;
|
||||
|
||||
StatusBar* sb = StatusBar::instance();
|
||||
|
||||
if (m_state == STATE_MOVING_RANGE) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user