@inweb/markup 25.9.5 → 25.9.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/markup.js CHANGED
@@ -12573,7 +12573,7 @@
12573
12573
  y: (pointer.y - this._konvaStage.y()) / oldScale,
12574
12574
  };
12575
12575
  // how to scale? Zoom in? Or zoom out?
12576
- let direction = event.data > 0 ? 1 : -1;
12576
+ const direction = event.data > 0 ? 1 : -1;
12577
12577
  const newScale = direction > 0 ? oldScale * event.data : oldScale / event.data;
12578
12578
  this._konvaStage.scale({ x: newScale, y: newScale });
12579
12579
  const newPos = {