mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-28 16:36:27 +02:00
Issue #11: fix user and time modes.
This commit is contained in:
parent
f452a08177
commit
f88f3b9f50
3 changed files with 26 additions and 16 deletions
|
@ -64,6 +64,8 @@ class IconExtractor:
|
|||
if id_ in self.icons:
|
||||
return self.icons[id_]
|
||||
else:
|
||||
if id_ != "no":
|
||||
ui.error(f"no such icon ID {id_}")
|
||||
return "M 4,4 L 4,10 10,10 10,4 z", 0, 0
|
||||
if id_ == "no":
|
||||
return "M 4,4 L 4,10 10,10 10,4 z", 0, 0
|
||||
if id_ == "small":
|
||||
return "M 6,6 L 6,8 8,8 8,6 z", 0, 0
|
||||
ui.error(f"no such icon ID {id_}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue