mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-17 07:10:36 +00:00
Show mini editor window again after PlayAnimationCommand
This commit is contained in:
parent
a5d6af7d87
commit
93c6967409
@ -198,10 +198,8 @@ void PlayAnimationCommand::onExecute(Context* context)
|
|||||||
// Hide mini editor
|
// Hide mini editor
|
||||||
MiniEditorWindow* miniEditor = App::instance()->getMainWindow()->getMiniEditor();
|
MiniEditorWindow* miniEditor = App::instance()->getMainWindow()->getMiniEditor();
|
||||||
bool enabled = (miniEditor ? miniEditor->isMiniEditorEnabled(): false);
|
bool enabled = (miniEditor ? miniEditor->isMiniEditorEnabled(): false);
|
||||||
if (enabled) {
|
if (enabled)
|
||||||
miniEditor->setVisible(false);
|
|
||||||
miniEditor->setMiniEditorEnabled(false);
|
miniEditor->setMiniEditorEnabled(false);
|
||||||
}
|
|
||||||
|
|
||||||
PlayAniWindow window(context, current_editor);
|
PlayAniWindow window(context, current_editor);
|
||||||
window.openWindowInForeground();
|
window.openWindowInForeground();
|
||||||
|
Loading…
Reference in New Issue
Block a user