mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Ensure Window's scene always points back to window
Issues can arise in the few milliseconds of startup otherwise.
This commit is contained in:
parent
4e90a77fcd
commit
d1b1df64a5
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class Window(PygletWindow):
|
|||
size: tuple[int, int] = (1280, 720),
|
||||
samples = 0
|
||||
):
|
||||
scene.window = self
|
||||
super().__init__(size=size, samples=samples)
|
||||
|
||||
self.default_size = size
|
||||
|
|
Loading…
Add table
Reference in a new issue