Changeset 1245 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
- Timestamp:
- 2009-01-11T16:14:58+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r1115 r1245 73 73 * counts as a move, in milliseconds 74 74 */ 75 private int initialMoveDelay = 200;75 private int initialMoveDelay; 76 76 77 77 /** … … 79 79 * counts as a move, in pixels 80 80 */ 81 private int initialMoveThreshold = 15;81 private int initialMoveThreshold; 82 82 private boolean initialMoveThresholdExceeded = false; 83 83 /** … … 92 92 putValue("help", "Action/Move/Move"); 93 93 selectionManager = new SelectionManager(this, false, mapFrame.mapView); 94 try { initialMoveDelay = Integer.parseInt(Main.pref.get("edit.initial-move-delay","200")); } catch (NumberFormatException x) {} 95 try { initialMoveThreshold = Integer.parseInt(Main.pref.get("edit.initial-move-threshold","5")); } catch (NumberFormatException x) {} 96 94 initialMoveDelay = Main.pref.getInteger("edit.initial-move-delay",200); 95 initialMoveThreshold = Main.pref.getInteger("edit.initial-move-threshold",5); 97 96 } 98 97
Note:
See TracChangeset
for help on using the changeset viewer.