mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-06 01:58:51 +02:00
Fix grid size in documentation.
This commit is contained in:
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 |
|
@ -228,6 +228,9 @@ def draw_icons() -> None:
|
||||||
for icon in collection.icons:
|
for icon in collection.icons:
|
||||||
icon.recolor(Color("#444444"))
|
icon.recolor(Color("#444444"))
|
||||||
|
|
||||||
for path in workspace.get_icon_grid_path(), workspace.GRID_PATH:
|
for path, scale in (
|
||||||
collection.draw_grid(path)
|
(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}.")
|
logging.info(f"Icon grid is written to {path}.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue