Get rid of all_at_once

This commit is contained in:
Grant Sanderson
2019-02-08 15:49:06 -08:00
parent f9010f3421
commit cf92cd161e
24 changed files with 43 additions and 45 deletions

View File

@ -1346,7 +1346,7 @@ class Lemma1(DistanceProductScene):
arcs.set_stroke(YELLOW, 5)
show_arcs = ShowCreationThenDestruction(
arcs,
submobject_mode="all_at_once",
lag_ratio=0,
run_time=2,
)
@ -1542,7 +1542,7 @@ class FromGeometryToAlgebra(DistanceProductScene):
arc.reverse_points()
arcs_anim = ShowCreationThenDestruction(
arcs, submobject_mode="all_at_once", run_time=2
arcs, lag_ratio=0, run_time=2
)
spacing_words = self.spacing_words = TextMobject("Evenly-spaced")
@ -4809,7 +4809,7 @@ class KeeperAndSailorForSineProduct(KeeperAndSailor):
self.wait()
self.play(
# GrowFromCenter(brace),
ShowCreation(product_lines, submobject_mode="all_at_once"),
ShowCreation(product_lines, lag_ratio=0),
FadeIn(product)
)
self.wait()