mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Fix changing playback speed shouldn't stop the animation playback
Regression introduced in 30a88c8e3d5e2c330a0ab969e36bab839aaba9ba
This commit is contained in:
parent
1f7f3677f2
commit
0c092cc37c
@ -2793,12 +2793,14 @@ bool Editor::isPlaying() const
|
||||
|
||||
void Editor::showAnimationSpeedMultiplierPopup()
|
||||
{
|
||||
const bool wasPlaying = isPlaying();
|
||||
|
||||
if (auto menu = AppMenus::instance()->getAnimationMenu()) {
|
||||
UIContext::SetTargetView setView(m_docView);
|
||||
menu->showPopup(mousePosInDisplay(), display());
|
||||
}
|
||||
|
||||
if (isPlaying()) {
|
||||
if (wasPlaying) {
|
||||
// Re-play
|
||||
stop();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user