v1.4.0: fixed a layout issue on portrait hero select
This commit is contained in:
@@ -14,7 +14,7 @@ allprojects {
|
||||
appName = 'Shattered Pixel Dungeon'
|
||||
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
||||
|
||||
appVersionCode = 657
|
||||
appVersionCode = 658
|
||||
appVersionName = '1.4.0-BETA-3'
|
||||
|
||||
appJavaCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
@@ -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