Merge pull request #1739 from Gasparoken/fix-toggling-timeline-pauses-animation

Fix toggling timeline visibility pauses animation (fix #1726)
This commit is contained in:
David Capello 2018-05-31 12:36:50 -03:00 committed by GitHub
commit 0c7c1b13ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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