mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-251940 Some icons became brighter
GitOrigin-RevId: eea245fc4684b48d9be912f00ee17ac1ee9efa3c
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user