diff --git a/src/app/ui/preview_editor.cpp b/src/app/ui/preview_editor.cpp index ef24c7c7b..a7e2d8d2b 100644 --- a/src/app/ui/preview_editor.cpp +++ b/src/app/ui/preview_editor.cpp @@ -1,5 +1,5 @@ // Aseprite -// Copyright (C) 2018 Igara Studio S.A. +// Copyright (C) 2018-2020 Igara Studio S.A. // Copyright (C) 2001-2018 David Capello // // This program is distributed under the terms of @@ -100,6 +100,7 @@ public: void setPlaying(bool state) { m_isPlaying = state; setupIcons(); + invalidate(); } obs::signal Popup; @@ -209,8 +210,7 @@ void PreviewEditorWindow::setPreviewEnabled(bool state) void PreviewEditorWindow::pressPlayButton() { - m_playButton->setSelected( - !m_playButton->isSelected()); + m_playButton->setPlaying(!m_playButton->isPlaying()); onPlayClicked(); }