From dacb817a548f711fc4068b828d74980922af7db2 Mon Sep 17 00:00:00 2001 From: Lucas Leung <66652566+mrworldwide1@users.noreply.github.com> Date: Sun, 30 Jul 2023 21:10:48 -0400 Subject: [PATCH] Fix Upgrades text not fitting into button --- game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game.js b/game.js index b229e64..ef6cc5b 100644 --- a/game.js +++ b/game.js @@ -500,11 +500,11 @@ function printer() { // In-game upgrade button, WIP function upgradesButton() { fill(252, 140, 3, upgradesButtonAlpha); - rect(windowWidth / 1.06, windowHeight / 2, upgradesButtonWidth, windowHeight / 7, 15); + rect(windowWidth / 1.05, windowHeight / 2, upgradesButtonWidth, windowHeight / 7, 15); fill(blackColor); textSize(gameplayButtonFontSize); textFont(mediumFont); - text("Upgrades [U]", windowWidth / 1.06, windowHeight / 2); + text("Upgrades [U]", windowWidth / 1.05, windowHeight / 2); } // Draw in-game Stats button