Ignore:
Timestamp:
2013-05-14T22:49:46+02:00 (12 years ago)
Author:
donvip
Message:

[josm_plugins] fix #josm8710 - Inconsistent MapMode focus behaviour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckerMapMode.java

    r28610 r29595  
    8383                        return;
    8484                }
     85                requestFocusInMapView();
    8586                digraph.ereaseJunctioncandidate();//um zu verhindern, dass gefundene Kreuzungen/Kandidaten weiterhin weiß gezeichnet werden
    8687                Point pointReleased = e.getPoint();
    8788
    8889                Rectangle r = createRect(pointReleased, pointPressed);
    89                 boolean ctrl = (e.getModifiers() & ActionEvent.CTRL_MASK) != 0;
     90                //boolean ctrl = (e.getModifiers() & ActionEvent.CTRL_MASK) != 0;
    9091                boolean shift = (e.getModifiers() & ActionEvent.SHIFT_MASK) != 0;
    91                 boolean alt = (e.getModifiers() & ActionEvent.ALT_MASK) != 0;
     92                //boolean alt = (e.getModifiers() & ActionEvent.ALT_MASK) != 0;
    9293                if (shift == false) {
    9394                        digraph.ereaseSelectedChannels();
Note: See TracChangeset for help on using the changeset viewer.