This commit is contained in:
Dragon Fire
2019-08-05 16:18:37 -04:00
parent 227461de50
commit ea03e9243e
+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 > 720) {
while (ctx.measureText(step).width > 620) {
fontSize -= 1;
ctx.font = `${fontSize}px Noto`;
}