@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/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-KXNP73MZ.mjs";
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
- const minSize = 6;
22512
- if (rect.width < minSize || rect.height < minSize) {
22512
+ if (!shouldAcceptSelectionRect(rect)) {
22513
22513
  clearSelection();
22514
22514
  return;
22515
22515
  }