mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-05 04:12:08 +02:00
Fix point priority.
This commit is contained in:
parent
1f978bb75b
commit
d5847a8cf7
1 changed files with 1 additions and 5 deletions
|
@ -407,9 +407,7 @@ class Scheme:
|
|||
extra_icons: list[Icon] = []
|
||||
priority: int = 0
|
||||
|
||||
index: int = 0
|
||||
|
||||
for matcher in self.node_matchers:
|
||||
for index, matcher in enumerate(self.node_matchers):
|
||||
if not matcher.replace_shapes and main_icon:
|
||||
continue
|
||||
if not matcher.is_matched(tags, configuration):
|
||||
|
@ -449,8 +447,6 @@ class Scheme:
|
|||
if matcher.set_opacity and main_icon:
|
||||
main_icon.opacity = matcher.set_opacity
|
||||
|
||||
index += 1
|
||||
|
||||
color: Optional[Color] = None
|
||||
|
||||
if "material" in tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue