Ignore:
Timestamp:
2020-01-27T23:19:09+01:00 (4 years ago)
Author:
Don-vip
Message:

fix #18632 - fix loading of SVG images in internal help browser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/JosmImageView.java

    r14977 r15790  
    133133            if (urlStr.endsWith(".svg") || urlStr.endsWith(".svg?format=raw")) {
    134134                ImageIcon imgIcon = new ImageProvider(urlStr).setOptional(true).get();
     135                setLoadsSynchronously(true); // make sure width/height are properly updated
    135136                imageField.set(this, imgIcon != null ? imgIcon.getImage() : null);
    136137            } else {
Note: See TracChangeset for help on using the changeset viewer.