Fix grid size in documentation.

This commit is contained in:
Sergey Vartanov 2021-11-29 08:40:26 +03:00
parent 2f900ac442
commit 89f387fbf5
2 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 367 KiB

After

Width:  |  Height:  |  Size: 377 KiB

Before After
Before After

View file

@ -228,6 +228,9 @@ def draw_icons() -> None:
for icon in collection.icons:
icon.recolor(Color("#444444"))
for path in workspace.get_icon_grid_path(), workspace.GRID_PATH:
collection.draw_grid(path)
for path, scale in (
(workspace.get_icon_grid_path(), 1.0),
(workspace.GRID_PATH, 2.0),
):
collection.draw_grid(path, scale=scale)
logging.info(f"Icon grid is written to {path}.")