mirror of
https://github.com/3b1b/videos.git
synced 2025-09-18 21:38:53 +00:00
New default screen height
This commit is contained in:
parent
26458da42f
commit
1543f7e545
1 changed files with 2 additions and 1 deletions
|
@ -40,13 +40,14 @@ class VideoWrapper(Scene):
|
||||||
"font_size": 60
|
"font_size": 60
|
||||||
}
|
}
|
||||||
wait_time = 32
|
wait_time = 32
|
||||||
|
screen_height = 6.25
|
||||||
|
|
||||||
def construct(self):
|
def construct(self):
|
||||||
self.add(FullScreenRectangle())
|
self.add(FullScreenRectangle())
|
||||||
screen = ScreenRectangle()
|
screen = ScreenRectangle()
|
||||||
screen.set_fill(BLACK, 1)
|
screen.set_fill(BLACK, 1)
|
||||||
screen.set_stroke(BLUE, 0)
|
screen.set_stroke(BLUE, 0)
|
||||||
screen.set_height(6)
|
screen.set_height(self.screen_height)
|
||||||
screen.to_edge(DOWN)
|
screen.to_edge(DOWN)
|
||||||
|
|
||||||
if self.animate_boundary:
|
if self.animate_boundary:
|
||||||
|
|
Loading…
Add table
Reference in a new issue