Skip to content

Commit

Permalink
Animate resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Jul 19, 2022
1 parent cc81cc5 commit eff9e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manimlib/scene/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ def on_key_press(
return

if char == RESET_FRAME_KEY:
self.camera.frame.to_default_state()
self.play(self.camera.frame.animate.to_default_state())
elif char == "z" and modifiers == COMMAND_MODIFIER:
self.undo()
elif char == "z" and modifiers == COMMAND_MODIFIER | SHIFT_MODIFIER:
Expand Down

0 comments on commit eff9e6f

Please sign in to comment.