IDEA-251940 Some icons became brighter

GitOrigin-RevId: eea245fc4684b48d9be912f00ee17ac1ee9efa3c
This commit is contained in:
Konstantin Bulenkov
2020-10-21 20:13:15 +00:00
committed by intellij-monorepo-bot
parent b99807b779
commit ae9114707e
@@ -846,7 +846,9 @@ public final class IconLoader {
ImageIcon icon = scaledIconCache.getOrScaleIcon(1f);
if (icon != null) {
this.realIcon = icon.getIconWidth() < 50 && icon.getIconHeight() < 50 ? icon : new SoftReference<>(icon);
if (!SVGLoader.isSelectionContext()) {
this.realIcon = icon.getIconWidth() < 50 && icon.getIconHeight() < 50 ? icon : new SoftReference<>(icon);
}
return icon;
}
}