Make sure framerate is 30 for previewed scenes

This commit is contained in:
Grant Sanderson
2021-08-21 17:07:20 -07:00
parent 0b7b3f4f31
commit 0787c4f362

View File

@ -45,6 +45,7 @@ class Scene(object):
from manimlib.window import Window
self.window = Window(scene=self, **self.window_config)
self.camera_config["ctx"] = self.window.ctx
self.camera_config["frame_rate"] = 30 # Where's that 30 from?
else:
self.window = None