From ecb467030530f54dfcf530132c4cd7194dc0f484 Mon Sep 17 00:00:00 2001 From: nathansmith117 Date: Wed, 21 Feb 2024 10:26:48 -0700 Subject: Fixed button size --- src/gameScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.3