mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Make handle_play_like_call a static method
This commit is contained in:
parent
bd537afe72
commit
810f2c67ab
1 changed files with 2 additions and 1 deletions
|
@ -511,7 +511,8 @@ class Scene(object):
|
|||
kw["override_skip_animations"] = True
|
||||
return self.get_time_progression(duration, **kw)
|
||||
|
||||
def handle_play_like_call(func):
|
||||
@staticmethod
|
||||
def handle_play_like_call(func: Callable):
|
||||
@wraps(func)
|
||||
def wrapper(self, *args, **kwargs):
|
||||
if self.inside_embed:
|
||||
|
|
Loading…
Add table
Reference in a new issue