diff options
author | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-02-21 17:26:48 +0000 |
---|---|---|
committer | nathansmith117 <thenathansmithsmith@gmail.com> | 2024-02-21 17:26:48 +0000 |
commit | ecb467030530f54dfcf530132c4cd7194dc0f484 (patch) | |
tree | ae3e612f17397b9b511f54a8f6639f79e6d840ee | |
parent | 76aa6ea16db1bfee36f86f461ea8487c60296973 (diff) | |
download | PenguinYippies-ecb467030530f54dfcf530132c4cd7194dc0f484.tar.gz PenguinYippies-ecb467030530f54dfcf530132c4cd7194dc0f484.tar.bz2 PenguinYippies-ecb467030530f54dfcf530132c4cd7194dc0f484.zip |
Fixed button size
-rw-r--r-- | src/gameScreen.c | 2 |
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( |