Changeset 11763 in josm for trunk


Ignore:
Timestamp:
2017-03-21T16:17:04+01:00 (7 years ago)
Author:
michael2402
Message:

Make NodeElement#toString() hide image angle if no image is provided.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java

    r11747 r11763  
    380380            s.append(" icon=[" + mapImage + ']');
    381381        }
     382        if (mapImage != null && mapImageAngle != null) {
     383            s.append(" mapImageAngle=[" + mapImageAngle + ']');
     384        }
    382385        if (symbol != null) {
    383386            s.append(" symbol=[" + symbol + ']');
    384387        }
    385         if (mapImageAngle != null) {
    386             s.append(" mapImageAngle=[" + mapImageAngle + ']');
    387         }
    388388        s.append('}');
    389389        return s.toString();
Note: See TracChangeset for help on using the changeset viewer.