Changeset 4305 in josm


Ignore:
Timestamp:
2011-08-10T14:54:30+02:00 (8 years ago)
Author:
bastiK
Message:

fixed #5950 - z-index does not affect casing

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/Projection.java

    r4288 r4305  
    1414public interface Projection {
    1515    /**
    16      * Returns the default zoom scale in pixel per degree ({@see #NavigatableComponent#scale}))
     16     * The default scale factor in east/north units per pixel ({@see #NavigatableComponent#scale}))
     17     * FIXME: misnomer
    1718     */
    1819    double getDefaultZoomInPPD();
  • trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java

    r4281 r4305  
    5353        LineElemStyle casing =  createImpl(env, true);
    5454        if (casing != null) {
    55             casing.z_index = -100;
     55            casing.z_index += -100;
    5656            casing.isModifier = true;
    5757        }
Note: See TracChangeset for help on using the changeset viewer.