Changeset 10688 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2016-07-31T13:27:54+02:00 (8 years ago)
Author:
Don-vip
Message:

remove call to deprecated method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java

    r10664 r10688  
    129129        if (dx != 0 || dy != 0) {
    130130            double ppd = layer.getPPD();
    131             layer.displace(dx / ppd, dy / ppd);
     131            layer.getDisplaySettings().addDisplacement(new EastNorth(dx / ppd, dy / ppd));
    132132            if (offsetDialog != null) {
    133133                offsetDialog.updateOffset();
Note: See TracChangeset for help on using the changeset viewer.