aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gameScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gameScreen.c b/src/gameScreen.c
index 96c1ed6..005becc 100644
--- a/src/gameScreen.c
+++ b/src/gameScreen.c
@@ -33,7 +33,7 @@ void initGameScreen(GameScreen* gameScreen, Game* game)
Texture* buttonTexture = &gameScreen->buttonPanelSharedAnimation.texture;
int buttonWidth = width / 4;
- int buttonHeight = 100;
+ int buttonHeight = buttonWidth / 2.0;
int buttonY = height - buttonHeight;
gameScreen->upgradesButton = createTexturedButton(