Changeset 375 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode
- Timestamp:
- 2007-10-13T15:17:34+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r373 r375 128 128 } 129 129 boolean extendedWay = false; 130 // shift modifier never connects, just makes new node 130 131 if (!shift && selection.size() == 1 && selection.iterator().next() instanceof Node) { 131 132 Node n0 = (Node) selection.iterator().next(); 132 133 133 Way way = getWayForNode(n0); 134 // alt modifier makes connection to selected node but not existing way 135 Way way = alt ? null : getWayForNode(n0); 134 136 if (way == null) { 135 137 way = new Way(); … … 215 217 216 218 @Override public String getModeHelpText() { 217 return "Click to add a new node. Ctrl to disable node re-use/auto-insert. Shift to disable auto-connect.";219 return "Click to add a new node. Ctrl: no node re-use/auto-insert. Shift: no auto-connect. Alt: new way"; 218 220 } 219 221 }
Note:
See TracChangeset
for help on using the changeset viewer.