Changeset 16938 in josm for trunk/resources/styles


Ignore:
Timestamp:
2020-08-26T22:05:33+02:00 (4 years ago)
Author:
Klumbumbus
Message:
  • fix #19714 - Add rendering of right side of barrier=city_wall
  • Add two_sided=yes checkbox to barrier=city_wall preset
  • Fix unpredictable rendering of patterns
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/styles/standard/elemstyles.mapcss

    r16930 r16938  
    415415    fill-color: barrier#F0F050;
    416416}
     417way[barrier=city_wall][two_sided!=yes] {
     418    repeat-image: "presets/barrier/barrier_pattern.svg";
     419    repeat-image-align: top;
     420    repeat-image-offset: 0.5;
     421}
    417422way[barrier=kerb] {
    418423    repeat-image: "presets/barrier/kerb_pattern.svg";
    419424    repeat-image-align: top;
     425    repeat-image-offset: 0.5;
    420426}
    421427way[barrier=retaining_wall] {
    422428    repeat-image: "presets/misc/cliff_pattern.svg";
    423429    repeat-image-align: top;
     430    repeat-image-offset: 0.5;
    424431}
    425432node[barrier=hedge],
     
    46604667    repeat-image: "presets/misc/cliff_pattern.svg";
    46614668    repeat-image-align: top;
     4669    repeat-image-offset: 0.5;
    46624670    width: 1;
    46634671    color: #b2b2b2;
Note: See TracChangeset for help on using the changeset viewer.