mirror of
https://github.com/processing/processing4.git
synced 2026-04-26 14:11:12 +02:00
fix problem with retina checking on Java 7
This commit is contained in:
@@ -226,6 +226,8 @@ public class Toolkit {
|
||||
awtToolkit.getDesktopProperty("apple.awt.contentScaleFactor");
|
||||
if (prop != null) {
|
||||
retinaProp = prop == 2;
|
||||
} else {
|
||||
retinaProp = false;
|
||||
}
|
||||
}
|
||||
return retinaProp;
|
||||
|
||||
Reference in New Issue
Block a user