Export command leaderboard on shutdown command

This commit is contained in:
Dragon Fire
2020-06-07 08:54:04 -04:00
parent a908a671d0
commit c0cda06749
17 changed files with 19 additions and 17 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ module.exports = class LisaPresentationCommand extends Command {
ctx.font = '40px Noto';
let fontSize = 40;
while (ctx.measureText(text).width > 1320) {
fontSize -= 1;
fontSize--;
ctx.font = `${fontSize}px Noto`;
}
const lines = await wrapText(ctx, text, 330);