Skip to content

Commit 48689ad

Browse files
committed
repositioned exit button on main menu
1 parent 0b19bcb commit 48689ad

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/wagemaker/uk/ui/GameMenu.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,11 @@ public void render(SpriteBatch batch, ShapeRenderer shapeRenderer, float camX, f
11031103

11041104
float textY = menuY + MENU_HEIGHT - 70 - (i * 30) - extraSpacing;
11051105

1106+
// Move Exit option down by extra 10px
1107+
if (i == 6) {
1108+
textY -= 15;
1109+
}
1110+
11061111
// Display the menu item (disabled items are shown in gray color)
11071112
playerNameFont.draw(batch, menuItem, textX, textY);
11081113
}

0 commit comments

Comments
 (0)