Only leave wait notes in presenter mode

This commit is contained in:
Grant Sanderson 2022-04-25 09:55:49 -07:00
parent 01f0dd30d0
commit 42d1f48c60

View file

@ -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