fix x/y typo
This commit is contained in:
parent
badb65bc65
commit
cf5893a2e1
1 changed files with 2 additions and 2 deletions
|
|
@ -102,10 +102,10 @@
|
||||||
bed_temp: bedTemp,
|
bed_temp: bedTemp,
|
||||||
fan_speed: fanSpeed,
|
fan_speed: fanSpeed,
|
||||||
speed: fanSpeed, // legacy
|
speed: fanSpeed, // legacy
|
||||||
top: offset.x ? device.bedDepth : device.bedDepth/2,
|
top: offset.y ? device.bedDepth : device.bedDepth/2,
|
||||||
left: offset.x ? 0 : -device.bedWidth/2,
|
left: offset.x ? 0 : -device.bedWidth/2,
|
||||||
right: offset.x ? device.bedWidth : device.bedWidth/2,
|
right: offset.x ? device.bedWidth : device.bedWidth/2,
|
||||||
bottom: offset.x ? 0 : -device.bedDepth/2,
|
bottom: offset.y ? 0 : -device.bedDepth/2,
|
||||||
z_max: device.maxHeight,
|
z_max: device.maxHeight,
|
||||||
layers: layers.length,
|
layers: layers.length,
|
||||||
progress: 0,
|
progress: 0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue