This commit is contained in:
Dragon Fire
2019-08-05 16:20:58 -04:00
parent eaa9a15078
commit 2369556acd
+1 -1
View File
@@ -69,7 +69,7 @@ module.exports = class PlanktonPlanCommand extends Command {
ctx.font = '35px Noto';
const step = steps[i];
let fontSize = 35;
while (ctx.measureText(step).width > 620) {
while (ctx.measureText(step).width > 520) {
fontSize -= 1;
ctx.font = `${fontSize}px Noto`;
}