mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Change default Write run_time
This commit is contained in:
parent
065de1af0c
commit
a2e8d0aab9
1 changed files with 2 additions and 4 deletions
|
@ -82,12 +82,10 @@ class Write(ShowCreation):
|
|||
|
||||
def establish_run_time(self, mobject):
|
||||
num_subs = len(mobject.family_members_with_points())
|
||||
if num_subs < 5:
|
||||
if num_subs < 15:
|
||||
self.run_time = 1
|
||||
elif num_subs < 15:
|
||||
self.run_time = 2
|
||||
else:
|
||||
self.run_time = 3
|
||||
self.run_time = 2
|
||||
|
||||
class DrawBorderThenFill(Animation):
|
||||
CONFIG = {
|
||||
|
|
Loading…
Add table
Reference in a new issue