mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Change to banner defaults
This commit is contained in:
parent
33b7371eb1
commit
96e670b4aa
1 changed files with 3 additions and 1 deletions
|
@ -307,6 +307,7 @@ class Banner(Scene):
|
|||
"date": "Sunday, February 3rd",
|
||||
"message_scale_val": 0.9,
|
||||
"add_supporter_note": False,
|
||||
"pre_date_text": "Next video on ",
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
@ -363,7 +364,8 @@ class Banner(Scene):
|
|||
|
||||
def get_date_message(self):
|
||||
return TextMobject(
|
||||
"Next video on ", self.date,
|
||||
self.pre_date_text,
|
||||
self.date,
|
||||
tex_to_color_map={self.date: YELLOW},
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue