v1.4.0: fixed a layout issue on portrait hero select

This commit is contained in:
Evan Debenham
2022-09-30 19:30:30 -04:00
parent 5e5f2d8882
commit e554ad73e2
2 changed files with 2 additions and 2 deletions

View File

@@ -396,7 +396,7 @@ public class HeroSelectScene extends PixelScene {
startBtn.text(Messages.titleCase(cl.title()));
startBtn.setSize(startBtn.reqWidth() + 8, 21);
startBtn.setPos((Camera.main.width - startBtn.width())/2f, startBtn.top());
startBtn.setPos((Camera.main.width - startBtn.width())/2f, (Camera.main.height - HeroBtn.HEIGHT + 2 - startBtn.height()));
PixelScene.align(startBtn);
infoButton.visible = infoButton.active = true;