mirror of https://github.com/aseprite/aseprite.git
Go back to current editor frame when animation in preview window is stopped
This commit is contained in:
parent
ac65b1291d
commit
ec8266ea48
|
|
@ -311,8 +311,11 @@ void PreviewEditorWindow::onPlayClicked()
|
||||||
miniEditor->play(Preferences::instance().preview.playOnce(),
|
miniEditor->play(Preferences::instance().preview.playOnce(),
|
||||||
Preferences::instance().preview.playAll());
|
Preferences::instance().preview.playAll());
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
miniEditor->stop();
|
miniEditor->stop();
|
||||||
|
if (m_relatedEditor)
|
||||||
|
miniEditor->setFrame(m_relatedEditor->frame());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void PreviewEditorWindow::onPopupSpeed()
|
void PreviewEditorWindow::onPopupSpeed()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue