Changeset 15895 in josm for trunk


Ignore:
Timestamp:
2020-02-22T13:50:06+01:00 (5 years ago)
Author:
simon04
Message:

see #14088 - Fix SelectionTableCellRendererTest, MemberTableMemberCellRendererTest

File:
1 edited

Legend:

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

    r15889 r15895  
    15341534     */
    15351535    public static ImageIcon getPadded(OsmPrimitive primitive, Dimension iconSize, Collection<GetPaddedOptions> options) {
     1536        if (iconSize.width <= 0 || iconSize.height <= 0) {
     1537            return null;
     1538        }
     1539
    15361540        // Check if the current styles have special icon for tagged objects.
    15371541        if (primitive.isTagged()) {
Note: See TracChangeset for help on using the changeset viewer.