@papyrus-sdk/ui-react-native 0.2.23 → 0.2.24
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-KXNP73MZ.mjs → chunk-B25KK4VL.mjs} +7 -1
- package/dist/chunk-B25KK4VL.mjs.map +1 -0
- package/dist/gesture/selectionInteraction.d.mts +6 -1
- package/dist/gesture/selectionInteraction.d.ts +6 -1
- package/dist/gesture/selectionInteraction.js +7 -0
- package/dist/gesture/selectionInteraction.js.map +1 -1
- package/dist/gesture/selectionInteraction.mjs +3 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/LICENSE +0 -21
- package/dist/chunk-KXNP73MZ.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -14,9 +14,10 @@ import {
|
|
|
14
14
|
getSelectionEdgeAutoscroll,
|
|
15
15
|
getToolDockDismissState,
|
|
16
16
|
isToolDockToolSelected,
|
|
17
|
+
shouldAcceptSelectionRect,
|
|
17
18
|
shouldEnableSelectionDrag,
|
|
18
19
|
shouldEnableViewerScroll
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-B25KK4VL.mjs";
|
|
20
21
|
import {
|
|
21
22
|
__commonJS
|
|
22
23
|
} from "./chunk-ZD7AOCMD.mjs";
|
|
@@ -22508,8 +22509,7 @@ var PageRenderer = ({
|
|
|
22508
22509
|
}
|
|
22509
22510
|
setIsSelecting(false);
|
|
22510
22511
|
selectionStart.current = null;
|
|
22511
|
-
|
|
22512
|
-
if (rect.width < minSize || rect.height < minSize) {
|
|
22512
|
+
if (!shouldAcceptSelectionRect(rect)) {
|
|
22513
22513
|
clearSelection();
|
|
22514
22514
|
return;
|
|
22515
22515
|
}
|