start a little smaller

This commit is contained in:
Daniel Odendahl Jr
2018-09-17 17:21:26 +00:00
parent 2010d9fd8a
commit 382cea66cc
+2 -2
View File
@@ -56,9 +56,9 @@ module.exports = class GruPlanCommand extends Command {
ctx.textBaseline = 'top';
let i = 0;
for (const [x, y] of coord) {
ctx.font = '40px Noto';
ctx.font = '35px Noto';
const step = steps[i];
let fontSize = 40;
let fontSize = 35;
while (ctx.measureText(step).width > 1100) {
fontSize -= 1;
ctx.font = `${fontSize}px Noto`;