System: populate Display's safeArea property on non-native targets

This commit is contained in:
Josh Tynjala
2025-09-15 09:02:29 -07:00
parent 58e15337db
commit 30b77ebd53

View File

@@ -376,6 +376,7 @@ class System
display.supportedModes = [display.currentMode];
display.bounds = new Rectangle(0, 0, display.currentMode.width, display.currentMode.height);
display.safeArea = new Rectangle(0, 0, display.currentMode.width, display.currentMode.height);
return display;
}
#end