@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.
@@ -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-CAJ64OD6.js.map
17239
+ //# sourceMappingURL=chunk-SPG45AVV.js.map