Changeset 33514 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSAdjustAction.java
- Timestamp:
- 2017-08-23T00:34:13+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSAdjustAction.java
r33226 r33514 112 112 prevEastNorth = newEastNorth; 113 113 } 114 Main.map.mapView.repaint(); 114 if (modifiedLayer != null) { 115 modifiedLayer.invalidate(); 116 } 115 117 } 116 118 … … 161 163 } 162 164 163 @Override public void mouseReleased(MouseEvent e) { 165 @Override 166 public void mouseReleased(MouseEvent e) { 164 167 if (mode == Mode.rotate) { 165 168 EastNorth newEastNorth = Main.map.mapView.getEastNorth(e.getX(), e.getY()); 166 169 rotate(prevEastNorth, newEastNorth); 167 Main.map.mapView.repaint(); 170 if (modifiedLayer != null) { 171 modifiedLayer.invalidate(); 172 } 168 173 } 169 174 Main.map.mapView.setCursor(Cursor.getDefaultCursor()); … … 188 193 189 194 private void saveModifiedLayers() { 190 modifiedLayer.grabThread.saveNewCache();195 modifiedLayer.grabThread.saveNewCache(); 191 196 } 192 197 }
Note:
See TracChangeset
for help on using the changeset viewer.
