mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-172571 IntelliJ IDEA won't start on Mac OS Sierra
This commit is contained in:
@@ -184,7 +184,7 @@ public class JBUI {
|
||||
try {
|
||||
gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
|
||||
} catch (HeadlessException ignore) {}
|
||||
if (gd != null) {
|
||||
if (gd != null && gd.getDefaultConfiguration() != null) {
|
||||
return sysScale(gd.getDefaultConfiguration());
|
||||
}
|
||||
return 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user