Changeset 4871 in josm for trunk/src


Ignore:
Timestamp:
2012-01-26T08:11:14+01:00 (13 years ago)
Author:
akks
Message:

Fix #7316 - don't display segment numbers for inactive data layers

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java

    r4327 r4871  
    320320                drawSegment(lastP, p, wayColor,
    321321                        showOnlyHeadArrowOnly ? !it.hasNext() : showThisDirectionArrow);
    322                 if (showOrderNumber) {
     322                if (showOrderNumber && !isInactiveMode) {
    323323                    drawOrderNumber(lastP, p, orderNumber);
    324324                }
  • trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java

    r4327 r4871  
    233233                showOnlyHeadArrowOnly, showOneway, onewayReversed);
    234234
    235         if(paintSettings.isShowOrderNumber()) {
     235        if(paintSettings.isShowOrderNumber() && !painter.isInactiveMode()) {
    236236            int orderNumber = 0;
    237237            lastN = null;
Note: See TracChangeset for help on using the changeset viewer.