Ignore:
Timestamp:
2011-11-02T10:24:39+01:00 (12 years ago)
Author:
stoecker
Message:

fix #7018 - Drag selection does not work when releasing mouse button over the middle of a segment - CAUTION: regressions possible, report problems

File:
1 edited

Legend:

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

    r4509 r4562  
    885885
    886886        // not allowed together: do not change dataset selection, return early
    887         if ((shift && ctrl) || (ctrl && !released) || (!virtualWays.isEmpty()))
     887        // Virtual Ways: if non-empty the cursor is above a virtual node. So don't highlight
     888        // anything if about to drag the virtual node (i.e. !released) but continue if the
     889        // cursor is only released above a virtual node by accident (i.e. released). See #7018
     890        if ((shift && ctrl) || (ctrl && !released) || (!virtualWays.isEmpty() && !released))
    888891            return;
    889892
Note: See TracChangeset for help on using the changeset viewer.