notes and a belt param fix

This commit is contained in:
Stewart Allen 2022-01-26 18:28:12 -05:00
commit ba2755c476
2 changed files with 29 additions and 4 deletions

View file

@ -1327,6 +1327,7 @@
}
let now = Date.now(),
isBelt = settings.device.bedBelt,
segNumber = 0,
segtimes = {},
startTime,
@ -1377,7 +1378,7 @@
stack.add(layer);
});
// rotate stack for belt beds
if (settings.device.bedBelt && WIDGETS[0].rotinfo) {
if (isBelt && WIDGETS[0].rotinfo) {
let ri = WIDGETS[0].rotinfo;
ri.dz = 0;
ri.dy = settings.device.bedDepth / 2;