Ignore:
Timestamp:
2017-08-23T00:34:13+02:00 (9 years ago)
Author:
donvip
Message:

fix #josm15178 - use new HTTPS links from French cadastre - requires JOSM 12623+ to load Certigna certificate from platform keystore (not included in JRE keystore)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSAdjustAction.java

    r33226 r33514  
    112112            prevEastNorth = newEastNorth;
    113113        }
    114         Main.map.mapView.repaint();
     114        if (modifiedLayer != null) {
     115            modifiedLayer.invalidate();
     116        }
    115117    }
    116118
     
    161163    }
    162164
    163     @Override public void mouseReleased(MouseEvent e) {
     165    @Override
     166    public void mouseReleased(MouseEvent e) {
    164167        if (mode == Mode.rotate) {
    165168            EastNorth newEastNorth = Main.map.mapView.getEastNorth(e.getX(), e.getY());
    166169            rotate(prevEastNorth, newEastNorth);
    167             Main.map.mapView.repaint();
     170            if (modifiedLayer != null) {
     171                modifiedLayer.invalidate();
     172            }
    168173        }
    169174        Main.map.mapView.setCursor(Cursor.getDefaultCursor());
     
    188193
    189194    private void saveModifiedLayers() {
    190             modifiedLayer.grabThread.saveNewCache();
     195        modifiedLayer.grabThread.saveNewCache();
    191196    }
    192197}
Note: See TracChangeset for help on using the changeset viewer.