We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33dbf04 commit 3d9a0cdCopy full SHA for 3d9a0cd
manimlib/window.py
@@ -69,7 +69,8 @@ def init_for_scene(self, scene: Scene):
69
mglw.activate_context(window=self, ctx=self.ctx)
70
self.timer.start()
71
72
- self.focus()
+ # This line seems to resync the viewport
73
+ self.on_resize(*self.size)
74
75
def get_monitor(self, index):
76
try:
@@ -106,8 +107,6 @@ def focus(self):
106
107
"""
108
self._window.set_visible(False)
109
self._window.set_visible(True)
- # This line seems to resync the viewport
110
- self.on_resize(*self.size)
111
112
def to_default_position(self):
113
self.position = self.default_position
0 commit comments