db view: fix icons for retina

This commit is contained in:
Sergey Ignatov
2015-05-08 17:10:56 +03:00
parent 0d9b64c674
commit 4b8ff1d2cd
@@ -446,6 +446,11 @@ public class IconUtil {
}
}
return createImageIcon(img);
}
@NotNull
public static JBImageIcon createImageIcon(@NotNull final BufferedImage img) {
return new JBImageIcon(img) {
@Override
public int getIconWidth() {