Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #142 from Helium314/patch-1
Browse files Browse the repository at this point in the history
Fix flickering labels and disappearing quest pins
  • Loading branch information
westnordost committed Dec 6, 2022
2 parents 3049afe + e063757 commit 6e96d41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layers/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ layers:
text:
text_source: global.name_source
buffer: 12px
priority: function() { return 20 + feature.scalerank }
# removing .toString() for some reason leads flickering labels and disappearing quest pins
# see https://github.com/streetcomplete/streetcomplete-mapstyle/issues/136 and https://github.com/streetcomplete/StreetComplete/issues/4522
priority: function() { return (20 + feature.scalerank).toString() }
font:
family: global.text_font_family
fill: global.text_water_color
Expand Down

0 comments on commit 6e96d41

Please sign in to comment.