laymur 0.1.71 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2039,8 +2039,10 @@ function applyMicroTransformations(object, micro, x, y, width, height, padding)
|
|
|
2039
2039
|
.premultiply(microRotationMatrix)
|
|
2040
2040
|
.premultiply(microScaleMatrix)
|
|
2041
2041
|
.premultiply(microAnchorMatrix);
|
|
2042
|
+
const zPosition = object.position.z;
|
|
2042
2043
|
const matrix4 = tempMatrixG.identity().setFromMatrix3(combinedMatrix);
|
|
2043
2044
|
matrix4.decompose(object.position, object.quaternion, object.scale);
|
|
2045
|
+
object.position.z = zPosition;
|
|
2044
2046
|
}
|
|
2045
2047
|
|
|
2046
2048
|
/**
|