From 8d0be453f2547f44cf2e978535ae1bfb81251279 Mon Sep 17 00:00:00 2001 From: EmeraldBlock <69981203+EmeraldBlock@users.noreply.github.com> Date: Sun, 27 Sep 2020 21:06:18 -0500 Subject: [PATCH] Change delivered text font size Decreased font size of delivered shapes text to fit it within hub body --- src/js/game/systems/hub.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/js/game/systems/hub.js b/src/js/game/systems/hub.js index 2270f941..017d2f15 100644 --- a/src/js/game/systems/hub.js +++ b/src/js/game/systems/hub.js @@ -77,10 +77,8 @@ export class HubSystem extends GameSystemWithFilter { const delivered = this.root.hubGoals.getCurrentGoalDelivered(); const deliveredText = "" + formatBigNumber(delivered); - if (delivered > 9999) { + if (delivered > 999) { context.font = "bold 16px GameFont"; - } else if (delivered > 999) { - context.font = "bold 20px GameFont"; } else { context.font = "bold 25px GameFont"; }