Skip to content

Commit

Permalink
Fix Upgrades text not fitting into button
Browse files Browse the repository at this point in the history
  • Loading branch information
mrworldwide1 committed Jul 31, 2023
1 parent 9c5e92a commit dacb817
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dacb817

Please sign in to comment.