Changeset 9114 in josm for trunk/styles


Ignore:
Timestamp:
2015-12-13T20:28:00+01:00 (9 years ago)
Author:
bastiK
Message:

mapcss: make partial fill threshold an advanced preference option (see #12104)

File:
1 edited

Legend:

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

    r9103 r9114  
    48764876   so only do this at low zoom. */
    48774877area|z-13[setting("partial_fill")] {
    4878     fill-extent-threshold: 100%;
     4878    fill-extent-threshold: 1.0;
    48794879}
    48804880
    48814881/* Larger extent for closed areas.
    4882    Turn partial fill off, when it covers more than about 70% of the area. This is avoids
     4882   Turn partial fill off, when it covers more than about 50% of the area. This is avoids
    48834883   areas with small unfilled patches in the center. */
    48844884area[setting("partial_fill")]:closed2 {
    48854885    fill-extent: 25;
    4886     fill-extent-threshold: 50%;
    4887 }
    4888 
     4886    fill-extent-threshold: JOSM_pref("draw.area.extent_threshold", 0.5);
     4887}
     4888
Note: See TracChangeset for help on using the changeset viewer.