Ticket #2249: Fix Draw Action Cursor some more.patch
| File Fix Draw Action Cursor some more.patch, 1.1 KB (added by , 17 years ago) |
|---|
-
org/openstreetmap/josm/actions/mapmode/DrawAction.java
118 118 // We invoke this to prevent strange things from happening 119 119 EventQueue.invokeLater(new Runnable() { 120 120 public void run() { 121 // Don't change cursor when mode has changed already 122 if(!(Main.map.mapMode instanceof DrawAction)) 123 return; 121 124 switch(c) { 122 125 case way: 123 126 Main.map.mapView.setCursor(cursorJoinWay); … … 193 196 194 197 @Override public void enterMode() { 195 198 super.enterMode(); 199 currCursor = Cursors.crosshair; 196 200 selectedColor = Main.pref.getColor(marktr("selected"), Color.red); 197 201 drawHelperLine = Main.pref.getBoolean("draw.helper-line", true); 198 202 drawTargetHighlight = Main.pref.getBoolean("draw.target-highlight", true);
