mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Quick fix for LaggedStart kwargs confusion, but this needs a better long-term solution
This commit is contained in:
parent
caf41f43d9
commit
7ae67fad09
1 changed files with 3 additions and 1 deletions
|
@ -151,8 +151,10 @@ class LaggedStartMap(LaggedStart):
|
|||
args_list.append(arg_creator(submob))
|
||||
else:
|
||||
args_list.append((submob,))
|
||||
anim_kwargs = dict(kwargs)
|
||||
anim_kwargs.pop("lag_ratio")
|
||||
animations = [
|
||||
AnimationClass(*args, **kwargs)
|
||||
AnimationClass(*args, **anim_kwargs)
|
||||
for args in args_list
|
||||
]
|
||||
super().__init__(*animations, **kwargs)
|
||||
|
|
Loading…
Add table
Reference in a new issue