Changeset 16055 in josm for trunk/src/org
- Timestamp:
- 2020-03-07T13:08:07+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r15926 r16055 35 35 import java.util.Base64; 36 36 import java.util.Collection; 37 import java.util.Collections; 37 38 import java.util.Comparator; 38 39 import java.util.EnumMap; 39 import java.util.EnumSet;40 40 import java.util.HashMap; 41 41 import java.util.Hashtable; … … 1513 1513 * Exclude tagging preset icons for {@linkplain OsmPrimitiveType#WAY ways}. 1514 1514 */ 1515 NO_WAY_PRESETS, 1515 NO_WAY_PRESETS; 1516 1517 private static final Collection<GetPaddedOptions> DEFAULT = Collections.singleton(GetPaddedOptions.NO_WAY_PRESETS); 1516 1518 } 1517 1519 … … 1525 1527 */ 1526 1528 public static ImageIcon getPadded(OsmPrimitive primitive, Dimension iconSize) { 1527 return getPadded(primitive, iconSize, EnumSet.of(GetPaddedOptions.NO_WAY_PRESETS));1529 return getPadded(primitive, iconSize, GetPaddedOptions.DEFAULT); 1528 1530 } 1529 1531
Note:
See TracChangeset
for help on using the changeset viewer.