mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Move window_config out of run_config
This commit is contained in:
parent
d1080aa6fd
commit
c61e0bcee5
2 changed files with 2 additions and 2 deletions
|
@ -318,7 +318,6 @@ def update_run_config(config: dict, args: Namespace):
|
|||
scene_names=args.scene_names,
|
||||
quiet=args.quiet or args.write_all,
|
||||
write_all=args.write_all,
|
||||
window_config=config["window"], # TODO
|
||||
show_in_window=not args.write_file
|
||||
)
|
||||
|
||||
|
|
|
@ -77,7 +77,8 @@ class ReloadManager:
|
|||
|
||||
# Create or reuse window
|
||||
if run_config["show_in_window"] and not self.window:
|
||||
self.window = Window(**run_config["window_config"])
|
||||
window_config = manimlib.config.get_window_config()
|
||||
self.window = Window(**window_config)
|
||||
scene_config.update(window=self.window)
|
||||
|
||||
# Scenes
|
||||
|
|
Loading…
Add table
Reference in a new issue