mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-29 02:08:03 +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))
|
svg: Drawing = Drawing(str(file_name), (16, 16))
|
||||||
|
|
||||||
|
if outline:
|
||||||
for shape_specification in self.shape_specifications:
|
for shape_specification in self.shape_specifications:
|
||||||
if color:
|
if color:
|
||||||
shape_specification.color = color
|
shape_specification.color = color
|
||||||
|
|
Loading…
Add table
Reference in a new issue