mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-06-19 03:08:11 +08:00
Fix loops
This commit is contained in:
@ -99,6 +99,8 @@ class Presentation:
|
||||
state = State.WAIT
|
||||
elif self.current_slide["type"] == "loop":
|
||||
self.current_animation = self.current_slide["start_animation"]
|
||||
state = State.PLAYING
|
||||
self.rewind()
|
||||
elif self.current_slide["type"] == "last":
|
||||
state = State.WAIT
|
||||
elif self.current_slide["type"] == "last" and self.current_slide["end_animation"] == self.current_animation:
|
||||
|
Reference in New Issue
Block a user