fix problem with retina checking on Java 7

This commit is contained in:
Ben Fry
2013-04-17 18:02:04 -04:00
parent 25de76426e
commit 59f1edb58f
3 changed files with 15 additions and 3 deletions

View File

@@ -226,6 +226,8 @@ public class Toolkit {
awtToolkit.getDesktopProperty("apple.awt.contentScaleFactor");
if (prop != null) {
retinaProp = prop == 2;
} else {
retinaProp = false;
}
}
return retinaProp;