mirror of
https://github.com/jeertmans/manim-slides.git
synced 2025-06-14 08:53:32 +08:00
fix(lib): prevent calling child method (#163)
Change `pause` to not call eventual child's `next_slide` method
This commit is contained in:
@ -174,7 +174,7 @@ class Slide(Scene): # type:ignore
|
|||||||
DeprecationWarning,
|
DeprecationWarning,
|
||||||
stacklevel=2,
|
stacklevel=2,
|
||||||
)
|
)
|
||||||
self.next_slide()
|
Slide.next_slide(self)
|
||||||
|
|
||||||
def __add_last_slide(self) -> None:
|
def __add_last_slide(self) -> None:
|
||||||
"""Adds a 'last' slide to the end of slides."""
|
"""Adds a 'last' slide to the end of slides."""
|
||||||
|
Reference in New Issue
Block a user