v0.2.4: tweaked challenge button location
This commit is contained in:
parent
09f91c321e
commit
c5e3f88280
|
@ -175,8 +175,8 @@ public class StartScene extends PixelScene {
|
||||||
|
|
||||||
ChallengeButton challenge = new ChallengeButton();
|
ChallengeButton challenge = new ChallengeButton();
|
||||||
challenge.setPos(
|
challenge.setPos(
|
||||||
w / 2 - challenge.width() / 2,
|
w/2 - challenge.width()/2,
|
||||||
top + shieldH - challenge.height() / 2 );
|
top + shieldH/2 - challenge.height()/2 );
|
||||||
add( challenge );
|
add( challenge );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -193,8 +193,8 @@ public class StartScene extends PixelScene {
|
||||||
|
|
||||||
ChallengeButton challenge = new ChallengeButton();
|
ChallengeButton challenge = new ChallengeButton();
|
||||||
challenge.setPos(
|
challenge.setPos(
|
||||||
w / 2 - challenge.width() / 2,
|
w/2 - challenge.width()/2,
|
||||||
top + shieldH - challenge.height() / 2 );
|
top + shieldH - challenge.height()/2 );
|
||||||
add( challenge );
|
add( challenge );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user