Skip to content

Commit a8458cb

Browse files
authored
Fix default config of manim init project to use correct pixel_height and pixel_width (#4213)
1 parent 6486299 commit a8458cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manim/cli/init/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def update_cfg(cfg_dict: dict[str, Any], project_cfg_path: Path) -> None:
7676
cli_config = config["CLI"]
7777
for key, value in cfg_dict.items():
7878
if key == "resolution":
79-
cli_config["pixel_height"] = str(value[0])
80-
cli_config["pixel_width"] = str(value[1])
79+
cli_config["pixel_width"] = str(value[0])
80+
cli_config["pixel_height"] = str(value[1])
8181
else:
8282
cli_config[key] = str(value)
8383

0 commit comments

Comments
 (0)