Merge pull request #1742 from 3b1b/video-work

Presenter mode bug fix
This commit is contained in:
Grant Sanderson 2022-02-14 07:58:55 -08:00 committed by GitHub
commit 7f9b0a7eac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ class Scene(object):
# Items associated with interaction
self.mouse_point = Point()
self.mouse_drag_point = Point()
self.hold_on_wait = not self.presenter_mode
self.hold_on_wait = self.presenter_mode
# Much nicer to work with deterministic scenes
if self.random_seed is not None:
@ -629,7 +629,7 @@ class Scene(object):
self.camera.frame.to_default_state()
elif char == "q":
self.quit_interaction = True
elif char == " ":
elif char == " " or symbol == 65363: # Space or right arrow
self.hold_on_wait = False
elif char == "e":
self.embed(close_scene_on_exit=False)