mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Revert real time playback being enabled by default (#3150)
This commit is contained in:
parent
84470b6b6d
commit
a1e05754e5
1 changed files with 7 additions and 5 deletions
|
|
@ -99,11 +99,13 @@ impl MessageHandler<AnimationMessage, ()> for AnimationMessageHandler {
|
|||
}
|
||||
}
|
||||
AnimationMessage::UpdateTime => {
|
||||
responses.add(PortfolioMessage::SubmitActiveGraphRender);
|
||||
if self.is_playing() && self.live_preview_recently_zero {
|
||||
// Update the restart and pause/play buttons
|
||||
responses.add(PortfolioMessage::UpdateDocumentWidgets);
|
||||
self.live_preview_recently_zero = false;
|
||||
if self.is_playing() {
|
||||
responses.add(PortfolioMessage::SubmitActiveGraphRender);
|
||||
if self.live_preview_recently_zero {
|
||||
// Update the restart and pause/play buttons
|
||||
responses.add(PortfolioMessage::UpdateDocumentWidgets);
|
||||
self.live_preview_recently_zero = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
AnimationMessage::RestartAnimation => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue