Fix toggling timeline visibility pauses animation (fix #1726)

This commit is contained in:
Gaspar Capello 2018-05-31 12:08:02 -03:00
parent 89c3819784
commit 59eed7f8d9

View File

@ -239,7 +239,8 @@ void PlayState::onBeforeCommandExecution(CommandExecutionEvent& ev)
// (zoom, scroll, etc.)
if (ev.command()->id() == CommandId::PlayAnimation() ||
ev.command()->id() == CommandId::Zoom() ||
ev.command()->id() == CommandId::Scroll()) {
ev.command()->id() == CommandId::Scroll() ||
ev.command()->id() == CommandId::Timeline()) {
return;
}