From 42d1f48c60d11caa043d5458e64bfceb31ea203f Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 25 Apr 2022 09:55:49 -0700 Subject: [PATCH] Only leave wait notes in presenter mode --- manimlib/scene/scene.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index 4621e6d9..2c35f0c0 100644 --- a/manimlib/scene/scene.py +++ b/manimlib/scene/scene.py @@ -604,10 +604,10 @@ class Scene(object): note: str = None, ignore_presenter_mode: bool = False ): - if note: - log.info(note) self.update_mobjects(dt=0) # Any problems with this? if self.presenter_mode and not self.skip_animations and not ignore_presenter_mode: + if note: + log.info(note) while self.hold_on_wait: self.update_frame(dt=1 / self.camera.frame_rate) self.hold_on_wait = True