@3cr/viewer-browser 0.0.159 → 0.0.161
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/Viewer3CR.js +1 -1
- package/dist/Viewer3CR.mjs +10 -11
- package/dist/Viewer3CR.umd.js +1 -1
- package/package.json +1 -1
- package/playground/index.html +1 -1
- package/src/components/WebGL3DR.vue +12 -45
package/dist/Viewer3CR.mjs
CHANGED
|
@@ -8663,6 +8663,7 @@ const Rv = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20stan
|
|
|
8663
8663
|
l?.addEventListener("wheel", function(g) {
|
|
8664
8664
|
g.preventDefault();
|
|
8665
8665
|
const u = new WheelEvent("wheel", {
|
|
8666
|
+
...g,
|
|
8666
8667
|
deltaY: g.deltaY
|
|
8667
8668
|
});
|
|
8668
8669
|
s.dispatchEvent(u);
|
|
@@ -8676,17 +8677,15 @@ const Rv = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20stan
|
|
|
8676
8677
|
s.dispatchEvent(f);
|
|
8677
8678
|
});
|
|
8678
8679
|
}
|
|
8679
|
-
i("mousedown"), i("mouseup"), i("mouseout"), i("mouseover"), i("mouseenter"), i("mouseleave"), i("mousemove"),
|
|
8680
|
-
|
|
8681
|
-
|
|
8682
|
-
|
|
8683
|
-
|
|
8684
|
-
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
);
|
|
8689
|
-
});
|
|
8680
|
+
i("mousedown"), i("mouseup"), i("mouseout"), i("mouseover"), i("mouseenter"), i("mouseleave"), i("mousemove"), i("contextmenu"), i("dblclick"), l?.addEventListener(
|
|
8681
|
+
"*",
|
|
8682
|
+
function(g) {
|
|
8683
|
+
console.log(`${g.type}`), g.preventDefault();
|
|
8684
|
+
const u = new Event(g.type, { ...g });
|
|
8685
|
+
s.dispatchEvent(u);
|
|
8686
|
+
}
|
|
8687
|
+
// false
|
|
8688
|
+
);
|
|
8690
8689
|
});
|
|
8691
8690
|
async function o(s) {
|
|
8692
8691
|
await Wu(JSON.parse(s));
|