mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-28 08:53:37 +00:00
[styles] Deduplicate mapcss rules
Change done automatically using
``` zsh
for x in **/*.mapcss; do
rg --passthru -UN --pcre2 '^node\|([^,]+),?\narea\|\1,?' --replace 'node|$1,' $x | sponge $x;
rg --passthru -UN --pcre2 '^area\|([^,]+),?\nnode\|\1,?' --replace 'node|$1,' $x | sponge $x;
done
```
Follow up to #999
Signed-off-by: Filip Czaplicki <git@starsep.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
ca9b3535a8
commit
9c0e1abd15
@@ -2040,7 +2040,6 @@ node|z17-[amenity=bicycle_parking],
|
||||
{icon-image: bicycle-parking-m.svg;}
|
||||
|
||||
node|z17-[amenity=bicycle_parking][covered=yes],
|
||||
area|z17-[amenity=bicycle_parking][covered=yes],
|
||||
{icon-image: bicycle-parking-covered-m.svg;}
|
||||
|
||||
node|z17-[amenity=motorcycle_parking],
|
||||
|
||||
Reference in New Issue
Block a user