- Timestamp:
- 2020-07-18T00:43:51+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r16764 r16792 1600 1600 if (primitive.isTagged() && (!options.contains(GetPaddedOptions.NO_WAY_PRESETS) || OsmPrimitiveType.WAY != primitive.getType())) { 1601 1601 final Optional<ImageIcon> icon = TaggingPresets.getMatchingPresets(primitive).stream() 1602 .sorted(Comparator.comparing(p -> p.types == null || p.types.isEmpty() ? Integer.MAX_VALUE : p.types.size())) 1602 .sorted(Comparator.comparing(p -> 1603 p.iconName.contains("multipolygon") || p.types == null || p.types.isEmpty() ? Integer.MAX_VALUE : p.types.size())) 1603 1604 .map(TaggingPreset::getImageResource) 1604 1605 .filter(Objects::nonNull)
Note:
See TracChangeset
for help on using the changeset viewer.