This commit is contained in:
Daniel Odendahl Jr
2018-09-16 21:13:38 +00:00
parent 62f05bd4a5
commit 832196eaa5
+1 -1
View File
@@ -59,7 +59,7 @@ module.exports = class GruPlanCommand extends Command {
for (const [x, y] of coord) {
const step = steps[i];
let fontSize = 50;
while (ctx.measureText(step).width > 1500) {
while (ctx.measureText(step).width > 1237) {
fontSize -= 1;
ctx.font = `${fontSize}px Noto`;
}