v1.4.0: fixed a layout issue on portrait hero select
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user