Changeset 5075 in josm for trunk


Ignore:
Timestamp:
2012-03-13T18:41:19+01:00 (8 years ago)
Author:
akks
Message:

see #7503 - disable highlighting middle-edge-nodes (and re-renders) together with other targets highlighting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r5016 r5075  
    303303            DataSet ds = getCurrentDataSet();
    304304            if (ds != null) {
    305                 ds.setHighlightedVirtualNodes(virtualWays);
     305                if(drawTargetHighlight) ds.setHighlightedVirtualNodes(virtualWays);
    306306            }
    307307            mv.setNewCursor(SelectActionCursor.virtual_node.cursor(), this);
    308308            // don't highlight anything else if a virtual node will be
    309             return true;
     309            return drawTargetHighlight; // if no highlighting, repaint is not needed
    310310        }
    311311
Note: See TracChangeset for help on using the changeset viewer.