@lumx/react 3.9.1-alpha.0 → 3.9.1-alpha.2
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/index.js
CHANGED
|
@@ -7947,8 +7947,8 @@ function usePointerZoom(scrollAreaRef, onScaleChange, animateScroll) {
|
|
|
7947
7947
|
|
|
7948
7948
|
// Update scale on next frame (focused on the mouse position)
|
|
7949
7949
|
updateScaleOnNextFrame(newScale, {
|
|
7950
|
-
x: event.
|
|
7951
|
-
y: event.
|
|
7950
|
+
x: event.clientX,
|
|
7951
|
+
y: event.clientY
|
|
7952
7952
|
});
|
|
7953
7953
|
}
|
|
7954
7954
|
const activePointers = {};
|