Ignore:
Timestamp:
2014-11-18T23:13:41+01:00 (10 years ago)
Author:
donvip
Message:

[josm_imagery_offset_db] see #josm10684 - remove hardcoded icon sizes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/GetImageryOffsetAction.java

    r30701 r30808  
    3838                Shortcut.registerShortcut("imageryoffset:get", tr("Imagery: {0}", tr("Get Imagery Offset...")),
    3939                KeyEvent.VK_I, Shortcut.ALT_CTRL), true);
    40         iconOffsetOk = ImageProvider.get("getoffset");
    41         iconOffsetBad = ImageProvider.get("getoffsetnow");
     40        iconOffsetOk = new ImageProvider("getoffset").setSize(ImageProvider.ImageSizes.MENU).get();
     41        iconOffsetBad = new ImageProvider("getoffsetnow").setSize(ImageProvider.ImageSizes.MENU).get();
    4242        ImageryOffsetWatcher.getInstance().register(this);
    4343    }
Note: See TracChangeset for help on using the changeset viewer.