1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Change delivered text font size

Decreased font size of delivered shapes text to fit it within hub body
This commit is contained in:
EmeraldBlock 2020-09-27 21:06:18 -05:00 committed by GitHub
parent 62c0c45505
commit 8d0be453f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";
}