From c5e3f882805b8b5351aa96c9a5f5c3c681171bc6 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 23 Feb 2015 16:24:32 -0500 Subject: [PATCH] v0.2.4: tweaked challenge button location --- .../shatteredpixeldungeon/scenes/StartScene.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/StartScene.java b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/StartScene.java index 56ab24157..669c0c967 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/scenes/StartScene.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/scenes/StartScene.java @@ -175,8 +175,8 @@ public class StartScene extends PixelScene { ChallengeButton challenge = new ChallengeButton(); challenge.setPos( - w / 2 - challenge.width() / 2, - top + shieldH - challenge.height() / 2 ); + w/2 - challenge.width()/2, + top + shieldH/2 - challenge.height()/2 ); add( challenge ); } else { @@ -193,8 +193,8 @@ public class StartScene extends PixelScene { ChallengeButton challenge = new ChallengeButton(); challenge.setPos( - w / 2 - challenge.width() / 2, - top + shieldH - challenge.height() / 2 ); + w/2 - challenge.width()/2, + top + shieldH - challenge.height()/2 ); add( challenge ); }