fix(lib): pass skip argument to ManimCE (#524)

* fix(lib): pass skip argument to ManimCE

* fix(lint): make ruff happy
This commit is contained in:
Jérome Eertmans
2025-01-22 21:41:22 +01:00
committed by GitHub
parent 941b895083
commit dbced6e62e
5 changed files with 17 additions and 8 deletions

View File

@ -127,7 +127,10 @@ class Slide(BaseSlide, Scene): # type: ignore[misc]
**kwargs: Any,
) -> None:
Scene.next_section(
self, *args, skip_animations=base_slide_config.skip_animations, **kwargs
self,
*args,
skip_animations=base_slide_config.skip_animations | self._skip_animations,
**kwargs,
)
BaseSlide.next_slide.__wrapped__(
self,