Changeset 12085 in josm


Ignore:
Timestamp:
2017-05-07T19:45:27+02:00 (6 months ago)
Author:
bastiK
Message:

fix compile (see #14734)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/ImageryLayer.java

    r11868 r12085  
    204204
    205205        ApplyOffsetAction(OffsetBookmark b) {
    206             super(b.name);
     206            super(b.getName());
    207207            this.b = b;
    208208        }
     
    210210        @Override
    211211        public void actionPerformed(ActionEvent ev) {
    212             setOffset(b.dx, b.dy);
     212            setOffset(b.getOffset().east(), b.getOffset().north());
    213213            Main.main.menu.imageryMenu.refreshOffsetMenu();
    214214            Main.map.repaint();
     
    253253            }
    254254            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())) {
    256257                item.setSelected(true);
    257258            }
Note: See TracChangeset for help on using the changeset viewer.