endset_three_editor 0.6.5 → 0.6.6
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/three-editor.es.js
CHANGED
|
@@ -2703,7 +2703,8 @@ async function Zo() {
|
|
|
2703
2703
|
items: m,
|
|
2704
2704
|
width: x,
|
|
2705
2705
|
fontSize: I,
|
|
2706
|
-
offsetY: v
|
|
2706
|
+
offsetY: v,
|
|
2707
|
+
offsetX: y ? y.getOffsetX() : 0
|
|
2707
2708
|
}
|
|
2708
2709
|
);
|
|
2709
2710
|
}
|
|
@@ -2747,7 +2748,7 @@ function Xo(r, e = "edit", t) {
|
|
|
2747
2748
|
title: u.title,
|
|
2748
2749
|
items: u.items
|
|
2749
2750
|
});
|
|
2750
|
-
c.attachTo(A), c.visible = !1, u.width && c.setWidth(u.width), u.fontSize && c.setFontSize(u.fontSize), u.offsetY !== void 0 && c.setOffsetY(u.offsetY), rn(A, c);
|
|
2751
|
+
c.attachTo(A), c.visible = !1, u.width && c.setWidth(u.width), u.fontSize && c.setFontSize(u.fontSize), u.offsetY !== void 0 && c.setOffsetY(u.offsetY), u.offsetX !== void 0 && c.setOffsetX(u.offsetX), rn(A, c);
|
|
2751
2752
|
}
|
|
2752
2753
|
})), e === "edit" && ((l = C.scene) == null || l.traverse((A) => {
|
|
2753
2754
|
var d;
|