fix(lib): prevent calling child method (#163)

Change `pause` to not call eventual child's `next_slide` method
This commit is contained in:
Jérome Eertmans
2023-03-20 16:24:46 +01:00
committed by GitHub
parent 8c578d2577
commit 49c4a10453

View File

@ -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."""