mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Repaint animated sprite only when frame changed
This commit is contained in:
parent
c1392909bb
commit
b6afb1ae2a
@ -141,10 +141,10 @@ void PlayState::onPlaybackTick()
|
||||
|
||||
m_editor->setFrame(frame);
|
||||
m_nextFrameTime += getNextFrameTime();
|
||||
m_editor->invalidate();
|
||||
}
|
||||
|
||||
m_curFrameTick = ui::clock();
|
||||
m_editor->invalidate();
|
||||
}
|
||||
|
||||
// Before executing any command, we stop the animation
|
||||
|
Loading…
Reference in New Issue
Block a user