mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 04:18:12 +08:00
Revert real time playback being enabled by default (#3150)
This commit is contained in:
@@ -99,11 +99,13 @@ impl MessageHandler<AnimationMessage, ()> for AnimationMessageHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
AnimationMessage::UpdateTime => {
|
AnimationMessage::UpdateTime => {
|
||||||
responses.add(PortfolioMessage::SubmitActiveGraphRender);
|
if self.is_playing() {
|
||||||
if self.is_playing() && self.live_preview_recently_zero {
|
responses.add(PortfolioMessage::SubmitActiveGraphRender);
|
||||||
// Update the restart and pause/play buttons
|
if self.live_preview_recently_zero {
|
||||||
responses.add(PortfolioMessage::UpdateDocumentWidgets);
|
// Update the restart and pause/play buttons
|
||||||
self.live_preview_recently_zero = false;
|
responses.add(PortfolioMessage::UpdateDocumentWidgets);
|
||||||
|
self.live_preview_recently_zero = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
AnimationMessage::RestartAnimation => {
|
AnimationMessage::RestartAnimation => {
|
||||||
|
|||||||
Reference in New Issue
Block a user