refactor(selectionMode): rename options

This commit is contained in:
moklick
2022-12-12 16:19:06 +01:00
parent aaa0854c62
commit d34ecbf802
4 changed files with 6 additions and 6 deletions
@@ -57,7 +57,7 @@ const selector = (s: ReactFlowState) => ({
const UserSelection = memo(
({
isSelecting,
selectionMode = SelectionMode.Contained,
selectionMode = SelectionMode.Full,
panOnDrag,
onSelectionStart,
onSelectionEnd,
@@ -151,7 +151,7 @@ const UserSelection = memo(
nodeInternals,
nextUserSelectRect,
transform,
selectionMode === SelectionMode.Overlap,
selectionMode === SelectionMode.Partial,
true,
nodeOrigin
);