Skip to content

Commit 49c4a10

Browse files
authored
fix(lib): prevent calling child method (#163)
Change `pause` to not call eventual child's `next_slide` method
1 parent 8c578d2 commit 49c4a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim_slides/slide.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def pause(self) -> None:
174174
DeprecationWarning,
175175
stacklevel=2,
176176
)
177-
self.next_slide()
177+
Slide.next_slide(self)
178178

179179
def __add_last_slide(self) -> None:
180180
"""Adds a 'last' slide to the end of slides."""

0 commit comments

Comments
 (0)