@vibecook/ice 0.15.0-desk.6 → 0.15.0
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/{chunk-WWFLFPSG.js → chunk-644DO6PN.js} +41 -19
- package/dist/chunk-644DO6PN.js.map +1 -0
- package/dist/{chunk-G3LDSWL4.js → chunk-A6PUTIL7.js} +3 -3
- package/dist/{chunk-G3LDSWL4.js.map → chunk-A6PUTIL7.js.map} +1 -1
- package/dist/{chunk-CAJ64OD6.js → chunk-SPG45AVV.js} +3 -2
- package/dist/{chunk-CAJ64OD6.js.map → chunk-SPG45AVV.js.map} +1 -1
- package/dist/{chunk-7XSZRL74.js → chunk-US7WJNR6.js} +2 -2
- package/dist/desk-kit.js +2 -2
- package/dist/desk-objects.js +3 -3
- package/dist/desk.js +3 -3
- package/dist/devtools.js +1 -1
- package/dist/dom.js +2 -2
- package/dist/index.js +1 -1
- package/dist/react.js +2 -2
- package/dist/types/packages/core/src/systems/l1-pick.d.ts +7 -4
- package/dist/types/packages/desk/src/host/layer.d.ts +7 -2
- package/dist/types/packages/desk/src/still.d.ts +5 -2
- package/dist/types/packages/dom/src/pointer-adapter.d.ts +18 -9
- package/package.json +1 -1
- package/dist/chunk-WWFLFPSG.js.map +0 -1
- /package/dist/{chunk-7XSZRL74.js.map → chunk-US7WJNR6.js.map} +0 -0
|
@@ -9482,6 +9482,7 @@ function createL0Systems(world, queue) {
|
|
|
9482
9482
|
for (const [id, s] of samples) {
|
|
9483
9483
|
const existing = resolve(id);
|
|
9484
9484
|
if (existing === void 0) {
|
|
9485
|
+
const cam = ctx.getResource(Camera);
|
|
9485
9486
|
const spawned = ctx.spawn({
|
|
9486
9487
|
components: [
|
|
9487
9488
|
[Pointer, { id, device: s.device, owner: "" }],
|
|
@@ -9490,7 +9491,7 @@ function createL0Systems(world, queue) {
|
|
|
9490
9491
|
[PointerMods, s.mods],
|
|
9491
9492
|
[PointerWheel, { dx: s.wheelDx, dy: s.wheelDy, pinch: s.wheelPinch }],
|
|
9492
9493
|
[PointerRadius, { r: radiusFor(s.device, pointerSettings) }],
|
|
9493
|
-
[PointerWorld, { x: 0, y: 0 }]
|
|
9494
|
+
[PointerWorld, cam === void 0 ? { x: 0, y: 0 } : screenToWorld(s.x, s.y, cam)]
|
|
9494
9495
|
],
|
|
9495
9496
|
tags: [LocalPointer]
|
|
9496
9497
|
});
|
|
@@ -17235,4 +17236,4 @@ export {
|
|
|
17235
17236
|
Local3 as Local,
|
|
17236
17237
|
DurableUndoStatus
|
|
17237
17238
|
};
|
|
17238
|
-
//# sourceMappingURL=chunk-
|
|
17239
|
+
//# sourceMappingURL=chunk-SPG45AVV.js.map
|