mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 03:27:48 +00:00
Fix LaggedStartMap
This commit is contained in:
parent
4db01fd221
commit
3b4a233bb1
1 changed files with 2 additions and 1 deletions
|
|
@ -163,12 +163,13 @@ class LaggedStartMap(LaggedStart):
|
||||||
group: Mobject,
|
group: Mobject,
|
||||||
arg_creator: Callable[[Mobject], tuple] | None = None,
|
arg_creator: Callable[[Mobject], tuple] | None = None,
|
||||||
run_time: float = 2.0,
|
run_time: float = 2.0,
|
||||||
|
lag_ratio: float = DEFAULT_LAGGED_START_LAG_RATIO,
|
||||||
**kwargs
|
**kwargs
|
||||||
):
|
):
|
||||||
anim_kwargs = dict(kwargs)
|
anim_kwargs = dict(kwargs)
|
||||||
anim_kwargs.pop("lag_ratio", None)
|
anim_kwargs.pop("lag_ratio", None)
|
||||||
super().__init__(
|
super().__init__(
|
||||||
*(AnimationClass(submob, **anim_kwargs) for submob in group),
|
*(AnimationClass(submob, **anim_kwargs) for submob in group),
|
||||||
group=group,
|
|
||||||
run_time=run_time,
|
run_time=run_time,
|
||||||
|
lag_ratio=lag_ratio,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue