This commit is contained in:
Dragon Fire
2020-05-31 10:28:29 -04:00
parent 2c91f28ebb
commit efb0f63541
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class ScrollOfTruthCommand extends Command {
ctx.textBaseline = 'top';
ctx.font = '60px Noto';
let fontSize = 60;
while (ctx.measureText(text).width > 651) {
while (ctx.measureText(text).width > 542) {
fontSize -= 1;
ctx.font = `${fontSize}px Noto`;
}