v3.2.2: improved fullscreen option eligibility on Android

This commit is contained in:
Evan Debenham
2025-08-22 10:57:06 -04:00
parent 00672f415b
commit 22fb116254
5 changed files with 21 additions and 17 deletions

View File

@@ -67,6 +67,12 @@ public class IOSPlatformSupport extends PlatformSupport {
Gdx.gl.glViewport(0, Game.bottomInset, Game.width, Game.height);
}
@Override
public boolean supportsFullScreen() {
//iOS supports hiding UI via drawing into the gesture safe area
return Gdx.graphics.getSafeInsetBottom() > 0;
}
@Override
public void updateSystemUI() {
int prevInset = Game.bottomInset;