Changeset 7696 in josm for trunk/src


Ignore:
Timestamp:
2014-11-02T22:51:09+01:00 (5 years ago)
Author:
stoecker
Message:

Fix scaling, see #10684

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageResource.java

    r7693 r7696  
    5151     */
    5252    public void getImageIcon(AbstractAction a) {
    53         ImageIcon icon = getImageIcon(ImageProvider.getImageSizes(ImageProvider.ImageSizes.SMALLICON));
     53        ImageIcon icon = getImageIconBounded(ImageProvider.getImageSizes(ImageProvider.ImageSizes.SMALLICON));
    5454        a.putValue(Action.SMALL_ICON, icon);
    55         icon = getImageIcon(ImageProvider.getImageSizes(ImageProvider.ImageSizes.LARGEICON));
     55        icon = getImageIconBounded(ImageProvider.getImageSizes(ImageProvider.ImageSizes.LARGEICON));
    5656        a.putValue(Action.LARGE_ICON_KEY, icon);
    5757    }
Note: See TracChangeset for help on using the changeset viewer.