fix multi-widget offset in prepare
This commit is contained in:
parent
96f62fe439
commit
f7b00af7d9
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@
|
||||||
boundsz = bounds.max.z + ztOff,
|
boundsz = bounds.max.z + ztOff,
|
||||||
zadd = hasStock ? stock.z - boundsz : alignTop ? outerz - boundsz : 0,
|
zadd = hasStock ? stock.z - boundsz : alignTop ? outerz - boundsz : 0,
|
||||||
zmax = outerz + zclear,
|
zmax = outerz + zclear,
|
||||||
wmpos = widget.mesh.position,
|
wmpos = widget.track.pos,
|
||||||
wmx = wmpos.x,
|
wmx = wmpos.x,
|
||||||
wmy = wmpos.y,
|
wmy = wmpos.y,
|
||||||
originx = startCenter ? 0 : hasStock ? -stock.x / 2 : bounds.min.x,
|
originx = startCenter ? 0 : hasStock ? -stock.x / 2 : bounds.min.x,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue