handle missing path. reduce left font size

This commit is contained in:
Stewart Allen 2021-03-24 14:40:33 -04:00
commit 8df07c364a
2 changed files with 2 additions and 1 deletions

View file

@ -281,6 +281,7 @@
}
let epos = isBelt ? { x: pos.x, y: pos.y, z: pos.z } : pos;
if (isBelt) {
let zheight = path ? path.height || 0 : 0;
epos.x = originCenter ? -pos.x : device.bedWidth - pos.x;
epos.z = blastz = pos.z * icos;
epos.y = -pos.y + epos.z * bcos;