This commit is contained in:
Dragon Fire
2020-07-04 23:51:20 -04:00
parent b5e4676cf8
commit 72c34d6384
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ module.exports = class CautionCommand extends Command {
ctx.textBaseline = 'top';
ctx.font = 'normal bold 60px Noto';
let fontSize = 60;
while (ctx.measureText(text).width > 3580) {
while (ctx.measureText(text).width > 3311) {
fontSize--;
ctx.font = `normal bold ${fontSize}px Noto`;
}