Changeset 16980 in josm


Ignore:
Timestamp:
2020-08-30T11:27:43+02:00 (4 weeks ago)
Author:
simon04
Message:

see #19706, see #19725 - Fix HiDPI with ImageResizeMode.BOUNDED

Regression of r16978

File:
1 edited

Legend:

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

    r16946 r16980  
    6060        double uiScale = getHiDPIScale();
    6161        if (uiScale != 1.0 && baseMultiResolutionImageConstructor != null) {
     62            if (resizeMode == ImageResizeMode.BOUNDED) {
     63                resizeMode = ImageResizeMode.AUTO;
     64            }
    6265            ImageIcon zoomed = ir.getImageIconAlreadyScaled(new Dimension(
    6366                    (int) Math.round(base.getWidth(null) * uiScale),
Note: See TracChangeset for help on using the changeset viewer.