mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Minor tweak
This commit is contained in:
parent
4cc2e5ed17
commit
4b483b75ce
1 changed files with 1 additions and 3 deletions
|
@ -42,13 +42,11 @@ class Window(PygletWindow):
|
||||||
self.monitor = self.get_monitor(monitor_index)
|
self.monitor = self.get_monitor(monitor_index)
|
||||||
self.default_size = size or self.get_default_size(full_screen)
|
self.default_size = size or self.get_default_size(full_screen)
|
||||||
self.default_position = position or self.position_from_string(position_string)
|
self.default_position = position or self.position_from_string(position_string)
|
||||||
|
self.pressed_keys = set()
|
||||||
|
|
||||||
super().__init__(samples=samples)
|
super().__init__(samples=samples)
|
||||||
self.to_default_position()
|
self.to_default_position()
|
||||||
|
|
||||||
self.pressed_keys = set()
|
|
||||||
|
|
||||||
|
|
||||||
if self.scene:
|
if self.scene:
|
||||||
self.init_for_scene(scene)
|
self.init_for_scene(scene)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue