Changeset 2692 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-12-28T09:27:07+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/mapmode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java
r2521 r2692 156 156 } 157 157 158 @Override public void mouseDragged(MouseEvent e) { 159 mouseMoved(e); 160 } 161 158 162 /** 159 163 * Listen to mouse move to be able to update the cursor (and highlights) … … 219 223 * position. 220 224 */ 221 @Override public void mouse Clicked(MouseEvent e) {225 @Override public void mouseReleased(MouseEvent e) { 222 226 if (e.getButton() != MouseEvent.BUTTON1) 223 227 return; -
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r2666 r2692 269 269 private void tryAgain(MouseEvent e) { 270 270 getCurrentDataSet().setSelected(); 271 mouse Clicked(e);271 mouseReleased(e); 272 272 } 273 273 … … 297 297 * If in nodeway mode, insert the node into the way. 298 298 */ 299 @Override public void mouse Clicked(MouseEvent e) {299 @Override public void mouseReleased(MouseEvent e) { 300 300 if (e.getButton() != MouseEvent.BUTTON1) 301 301 return; … … 620 620 } 621 621 622 @Override public void mouseDragged(MouseEvent e) { 623 mouseMoved(e); 624 } 625 622 626 @Override public void mouseMoved(MouseEvent e) { 623 627 if(!Main.map.mapView.isActiveLayerDrawable()) … … 650 654 * This method prepares data required for painting the "helper line" from 651 655 * the last used position to the mouse cursor. It duplicates some code from 652 * mouse Clicked() (FIXME).656 * mouseReleased() (FIXME). 653 657 */ 654 658 private void computeHelperLine() {
Note:
See TracChangeset
for help on using the changeset viewer.