Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixes an old FRAME_HEIGHT reference

XorUnison4aa25d5aff6b
diff --git a/manim/camera/moving_camera.py b/manim/camera/moving_camera.py
index a092db1da..f7e84986f 100644
--- a/manim/camera/moving_camera.py
+++ b/manim/camera/moving_camera.py
@@ -36,7 +36,7 @@ class MovingCamera(Camera):
"""
digest_config(self, kwargs)
if frame is None:
- frame = ScreenRectangle(height=FRAME_HEIGHT)
+ frame = ScreenRectangle(height=config['frame_height'])
frame.set_stroke(
self.default_frame_stroke_color,
self.default_frame_stroke_width,