@vectojs/core 1.38.0 → 1.38.1
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 +3 -1
- package/dist/index.mjs +3 -1
- package/dist/wasm/vectojs_core.wasm +0 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5773,7 +5773,9 @@ var Scene = (_class15 = class _Scene {
|
|
|
5773
5773
|
}
|
|
5774
5774
|
};
|
|
5775
5775
|
el.addEventListener("pointerdown", (e) => {
|
|
5776
|
-
if (typeof capEl.setPointerCapture === "function")
|
|
5776
|
+
if (e.target === capEl && typeof capEl.setPointerCapture === "function") {
|
|
5777
|
+
capEl.setPointerCapture(e.pointerId);
|
|
5778
|
+
}
|
|
5777
5779
|
node.dispatchEvent(new (0, _chunkSRXU3ZXKjs.VectoJSEvent)("pointerdown", node, e));
|
|
5778
5780
|
});
|
|
5779
5781
|
el.addEventListener("pointerup", (e) => {
|
package/dist/index.mjs
CHANGED
|
@@ -5772,7 +5772,9 @@ var Scene = class _Scene {
|
|
|
5772
5772
|
}
|
|
5773
5773
|
};
|
|
5774
5774
|
el.addEventListener("pointerdown", (e) => {
|
|
5775
|
-
if (typeof capEl.setPointerCapture === "function")
|
|
5775
|
+
if (e.target === capEl && typeof capEl.setPointerCapture === "function") {
|
|
5776
|
+
capEl.setPointerCapture(e.pointerId);
|
|
5777
|
+
}
|
|
5776
5778
|
node.dispatchEvent(new VectoJSEvent("pointerdown", node, e));
|
|
5777
5779
|
});
|
|
5778
5780
|
el.addEventListener("pointerup", (e) => {
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectojs/core",
|
|
3
|
-
"version": "1.38.
|
|
3
|
+
"version": "1.38.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@vitest/coverage-v8": "^4.1.10",
|
|
75
75
|
"esbuild": "^0.28.1",
|
|
76
76
|
"jsdom": "^30.0.1",
|
|
77
|
-
"puppeteer-core": "^25.
|
|
77
|
+
"puppeteer-core": "^25.7.0",
|
|
78
78
|
"tsup": "^8.3.5",
|
|
79
79
|
"vitest": "^4.1.10"
|
|
80
80
|
}
|