mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-28 17:57:11 +02:00
Issue #150: get rid of shape duplication.
This commit is contained in:
parent
0da966f170
commit
825eb34191
1 changed files with 10 additions and 9 deletions
|
@ -541,6 +541,7 @@ class Icon:
|
|||
"""
|
||||
svg: Drawing = Drawing(str(file_name), (16, 16))
|
||||
|
||||
if outline:
|
||||
for shape_specification in self.shape_specifications:
|
||||
if color:
|
||||
shape_specification.color = color
|
||||
|
|
Loading…
Add table
Reference in a new issue