mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
Minor tweak
This commit is contained in:
@ -42,13 +42,11 @@ class Window(PygletWindow):
|
||||
self.monitor = self.get_monitor(monitor_index)
|
||||
self.default_size = size or self.get_default_size(full_screen)
|
||||
self.default_position = position or self.position_from_string(position_string)
|
||||
self.pressed_keys = set()
|
||||
|
||||
super().__init__(samples=samples)
|
||||
self.to_default_position()
|
||||
|
||||
self.pressed_keys = set()
|
||||
|
||||
|
||||
if self.scene:
|
||||
self.init_for_scene(scene)
|
||||
|
||||
|
Reference in New Issue
Block a user