Issue #137: support layers for ways.

First check layer value and then priority.
This commit is contained in:
Sergey Vartanov 2022-07-04 01:51:41 +03:00
parent 1a719fca2a
commit 697fee5c87
2 changed files with 22 additions and 1 deletions

View file

@ -525,7 +525,7 @@ class Constructor:
def get_sorted_figures(self) -> list[StyledFigure]:
"""Get all figures sorted by priority."""
return sorted(self.figures, key=lambda x: x.line_style.priority)
return sorted(self.figures)
def check_level_number(tags: Tags, level: float) -> bool: