v3.2.3: implemented mostly complete new iOS inset support

This commit is contained in:
Evan Debenham
2025-08-30 17:32:57 -04:00
committed by Evan Debenham
parent 0a6a93ec47
commit 452f944678
7 changed files with 64 additions and 24 deletions

View File

@@ -427,6 +427,14 @@ public class GameScene extends PixelScene {
toolbar.setRect( insets.left, uiCamera.height - toolbar.height() - insets.bottom, uiCamera.width - insets.right, toolbar.height() );
}
//TODO this is pretty barebones, could be minimized or avoided perhaps?
if (insets.bottom > 0){
SkinnedBlock blackBar = new SkinnedBlock(uiCamera.width, insets.bottom, TextureCache.createSolid(0xFF000000));
blackBar.camera = uiCamera;
blackBar.y = uiCamera.height - insets.bottom;
add(blackBar);
}
layoutTags();
switch (InterlevelScene.mode) {