world.ts 0.5.6 → 0.5.7

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 CHANGED
@@ -3164,7 +3164,7 @@ const B = 34, di = 22, mi = xe(0, B).flatMap(
3164
3164
  }
3165
3165
  return;
3166
3166
  }
3167
- if (s && (Math.abs(x) > 1 || Math.abs(A) > 1)) {
3167
+ if (s && !p.buttons && (Math.abs(x) > 1 || Math.abs(A) > 1)) {
3168
3168
  s = !1;
3169
3169
  const { point: T, position: R, layer: y } = i([_, E]);
3170
3170
  (y?.onDrag || y?.onDragFlat) && (o = y, o.onDragStart?.({ point: T, position: R, layer: y }), [, , c] = R);