Changeset 12085 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-05-07T19:45:27+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java
r11868 r12085 204 204 205 205 ApplyOffsetAction(OffsetBookmark b) { 206 super(b. name);206 super(b.getName()); 207 207 this.b = b; 208 208 } … … 210 210 @Override 211 211 public void actionPerformed(ActionEvent ev) { 212 setOffset(b. dx, b.dy);212 setOffset(b.getOffset().east(), b.getOffset().north()); 213 213 Main.main.menu.imageryMenu.refreshOffsetMenu(); 214 214 Main.map.repaint(); … … 253 253 } 254 254 JCheckBoxMenuItem item = new JCheckBoxMenuItem(new ApplyOffsetAction(b)); 255 if (Utils.equalsEpsilon(b.dx, getDx()) && Utils.equalsEpsilon(b.dy, getDy())) { 255 if (Utils.equalsEpsilon(b.getOffset().east(), getDx()) && 256 Utils.equalsEpsilon(b.getOffset().north(), getDy())) { 256 257 item.setSelected(true); 257 258 }
Note:
See TracChangeset
for help on using the changeset viewer.