endset_three_editor 0.6.4 → 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;
|
|
@@ -5965,9 +5966,9 @@ const Zr = {
|
|
|
5965
5966
|
k(b("input", {
|
|
5966
5967
|
type: "range",
|
|
5967
5968
|
class: "dp-range",
|
|
5968
|
-
min: "-
|
|
5969
|
-
max: "
|
|
5970
|
-
step: "0.
|
|
5969
|
+
min: "-2",
|
|
5970
|
+
max: "2",
|
|
5971
|
+
step: "0.01",
|
|
5971
5972
|
"onUpdate:modelValue": I[3] || (I[3] = (y) => o.value = y)
|
|
5972
5973
|
}, null, 512), [
|
|
5973
5974
|
[
|
|
@@ -6097,7 +6098,7 @@ const Zr = {
|
|
|
6097
6098
|
])
|
|
6098
6099
|
]));
|
|
6099
6100
|
}
|
|
6100
|
-
}), sl = /* @__PURE__ */ Se(tl, [["__scopeId", "data-v-
|
|
6101
|
+
}), sl = /* @__PURE__ */ Se(tl, [["__scopeId", "data-v-7e3a155e"]]);
|
|
6101
6102
|
function nl(r) {
|
|
6102
6103
|
const e = N(/* @__PURE__ */ new Set()), t = (s) => {
|
|
6103
6104
|
const i = new Set(e.value);
|