mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-31 09:56:24 +02:00
Remove specific line icons.
This commit is contained in:
parent
4e92c8e9c2
commit
fa3b49ee75
3 changed files with 3 additions and 41 deletions
|
@ -30,7 +30,7 @@ def draw_grid(step: float = 24, columns: int = 16):
|
|||
|
||||
to_draw: List[Set[str]] = []
|
||||
|
||||
for element in scheme.node_icons + scheme.line_icons: # type: Dict[str, Any]
|
||||
for element in scheme.icons: # type: Dict[str, Any]
|
||||
if "icon" in element:
|
||||
if set(element["icon"]) not in to_draw:
|
||||
to_draw.append(set(element["icon"]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue