Changeset 33384 in osm for applications/editors/josm/plugins/piclayer
- Timestamp:
- 2017-06-08T00:51:46+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/actions/GenericPicTransformAction.java
r32675 r33384 79 79 prevMousePoint = new Point(e.getPoint()); 80 80 prevEastNorth = Main.map.mapView.getEastNorth(e.getX(), e.getY()); 81 Main.map.mapView.repaint();81 currentLayer.invalidate(); 82 82 } 83 83 } … … 102 102 if (active instanceof PicLayerAbstract) { 103 103 ((PicLayerAbstract) active).setDrawPoints(value); 104 active.invalidate(); 104 105 } 105 Main.map.mapView.repaint();106 106 } 107 107 } -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/command/TransformCommand.java
r32675 r33384 36 36 public boolean executeCommand() { 37 37 placeTransform(afterTransform); 38 Main.map.mapView.repaint();38 layer.invalidate(); 39 39 return true; 40 40 } … … 43 43 public void undoCommand() { 44 44 placeTransform(beforeTransform); 45 Main.map.mapView.repaint();45 layer.invalidate(); 46 46 } 47 47 -
applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/layer/PicLayerAbstract.java
r33144 r33384 462 462 463 463 // Refresh 464 Main.map.mapView.repaint();464 invalidate(); 465 465 } 466 466 … … 497 497 498 498 initialImageScale = 1; 499 Main.map.mapView.repaint();499 invalidate(); 500 500 } 501 501 }
Note:
See TracChangeset
for help on using the changeset viewer.