mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
db view: fix icons for retina
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user