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:
parent
62c0c45505
commit
8d0be453f2
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user