Skip to content

Commit 4126961

Browse files
committed
LobbyScene: Update button text and dimensions for consistency
1 parent 2530469 commit 4126961

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

client/src/scene/type/LobbyScene.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ export class LobbyScene extends Scene {
2929

3030
this.addActor(
3131
new Button({
32-
text: "Choose Civilization",
33-
x: Game.getInstance().getWidth() / 2 - 242 / 2,
32+
text: "Select Civilization",
33+
x: Game.getInstance().getWidth() / 2 - 282 / 2,
3434
y: playerList.getY() + playerList.getHeight() + 10,
35-
width: 242,
35+
width: 282,
3636
height: 62,
3737
fontColor: "white",
3838
onClicked: () => {
@@ -64,9 +64,9 @@ export class LobbyScene extends Scene {
6464
this.addActor(
6565
new Button({
6666
text: "Ready Up",
67-
x: Game.getInstance().getWidth() / 2 - 242 / 2,
67+
x: Game.getInstance().getWidth() / 2 - 282 / 2,
6868
y: playerList.getY() + playerList.getHeight() + 75,
69-
width: 242,
69+
width: 282,
7070
height: 62,
7171
fontColor: "white",
7272
onClicked: () => {
@@ -86,9 +86,9 @@ export class LobbyScene extends Scene {
8686
this.addActor(
8787
new Button({
8888
text: "Back",
89-
x: Game.getInstance().getWidth() / 2 - 242 / 2,
89+
x: Game.getInstance().getWidth() / 2 - 282 / 2,
9090
y: playerList.getY() + playerList.getHeight() + 140,
91-
width: 242,
91+
width: 282,
9292
height: 62,
9393
fontColor: "white",
9494
onClicked: () => {

0 commit comments

Comments
 (0)