This commit is contained in:
Dragon Fire
2020-11-29 09:34:47 -05:00
parent e780d57843
commit ef88012135
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class ChangeMyMindCommand extends Command {
ctx.rotate(-24 * (Math.PI / 180));
ctx.font = '35px Noto';
let fontSize = 35;
while (ctx.measureText(text).width > 506) {
while (ctx.measureText(text).width > 843) {
fontSize--;
ctx.font = `${fontSize}px Noto`;
}