v3.2.3: implemented mostly complete new iOS inset support
This commit is contained in:
committed by
Evan Debenham
parent
0a6a93ec47
commit
452f944678
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user