mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Fix problem playing animation in the current editor and the preview window
This commit is contained in:
parent
11187a8d4f
commit
2bac4d0313
@ -381,8 +381,10 @@ void PreviewEditorWindow::updateUsingEditor(Editor* editor)
|
||||
if (miniEditor->isPlaying()) {
|
||||
doc::FrameTag* tag = get_animation_tag(editor->sprite(), editor->frame());
|
||||
doc::FrameTag* playingTag = get_animation_tag(editor->sprite(), m_refFrame);
|
||||
if (tag != playingTag)
|
||||
miniEditor->stop();
|
||||
if (tag == playingTag)
|
||||
return;
|
||||
|
||||
miniEditor->stop();
|
||||
}
|
||||
|
||||
if (!miniEditor->isPlaying())
|
||||
|
Loading…
Reference in New Issue
Block a user