mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-09 22:32:12 +02:00
Issue #67: refactor text processing.
This commit is contained in:
parent
a73006e67e
commit
7eaf3678f9
5 changed files with 95 additions and 75 deletions
|
@ -296,7 +296,7 @@ class Constructor:
|
|||
)
|
||||
if icon_set is not None:
|
||||
labels: list[Label] = self.scheme.construct_text(
|
||||
line.tags, "all", processed
|
||||
line.tags, processed, self.configuration.label_mode
|
||||
)
|
||||
point: Point = Point(
|
||||
icon_set,
|
||||
|
@ -334,7 +334,7 @@ class Constructor:
|
|||
)
|
||||
if icon_set is not None:
|
||||
labels: list[Label] = self.scheme.construct_text(
|
||||
line.tags, "all", processed
|
||||
line.tags, processed, self.configuration.label_mode
|
||||
)
|
||||
point: Point = Point(
|
||||
icon_set,
|
||||
|
@ -445,7 +445,9 @@ class Constructor:
|
|||
)
|
||||
if icon_set is None:
|
||||
return
|
||||
labels: list[Label] = self.scheme.construct_text(tags, "all", processed)
|
||||
labels: list[Label] = self.scheme.construct_text(
|
||||
tags, processed, self.configuration.label_mode
|
||||
)
|
||||
self.scheme.process_ignored(tags, processed)
|
||||
|
||||
if node.get_tag("natural") == "tree" and (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue