Added new LaggedStart default lag_ratio

This commit is contained in:
Grant Sanderson 2019-02-11 22:37:52 -08:00
parent e278c55cbe
commit d3a68aff1e

View file

@ -10,6 +10,9 @@ from manimlib.utils.rate_functions import linear
from manimlib.utils.rate_functions import squish_rate_func
DEFAULT_LAGGED_START_LAG_RATIO = 0.05
class AnimationGroup(Animation):
CONFIG = {
# If None, this defaults to the sum of all
@ -133,7 +136,7 @@ class Succession(AnimationGroup):
class LaggedStart(AnimationGroup):
CONFIG = {
"lag_ratio": 0.2,
"lag_ratio": DEFAULT_LAGGED_START_LAG_RATIO,
}