mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-18 21:40:49 +02:00
Export command leaderboard on shutdown command
This commit is contained in:
@@ -54,7 +54,7 @@ module.exports = class SosCommand extends Command {
|
||||
ctx.rotate(15 * (Math.PI / 180));
|
||||
let fontSize = 90;
|
||||
while (ctx.measureText(message).width > 140) {
|
||||
fontSize -= 1;
|
||||
fontSize--;
|
||||
ctx.font = `${fontSize}px Noto`;
|
||||
}
|
||||
ctx.fillText(message.toUpperCase(), 362, 522);
|
||||
|
||||
Reference in New Issue
Block a user