Skip to content

Commit 3b51c94

Browse files
authored
Merge pull request #173 from ManimCommunity/moving_camera-fix
Fixes an old FRAME_HEIGHT reference
2 parents 585577b + 4aa25d5 commit 3b51c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/camera/moving_camera.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self, frame=None, **kwargs):
3636
"""
3737
digest_config(self, kwargs)
3838
if frame is None:
39-
frame = ScreenRectangle(height=FRAME_HEIGHT)
39+
frame = ScreenRectangle(height=config['frame_height'])
4040
frame.set_stroke(
4141
self.default_frame_stroke_color,
4242
self.default_frame_stroke_width,

0 commit comments

Comments
 (0)