refactor(store): rename selectionActive to userSelectionActive

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 024a434918
commit da2e95a517
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export default (opts?: FlowOptions): State => {
defaultPosition: [0, 0],
nodesSelectionActive: false,
selectionActive: false,
userSelectionActive: false,
selectedNodesBbox: { x: 0, y: 0, width: 0, height: 0 },
defaultMarkerColor: '#b1b1b7',
+1 -1
View File
@@ -31,7 +31,7 @@ export interface State<N = any, E = N> extends Omit<FlowOptions<N, E>, 'id' | 'm
selectedNodesBbox: Rect
nodesSelectionActive: boolean
selectionActive: boolean
userSelectionActive: boolean
multiSelectionActive: boolean
deleteKeyCode: KeyCode
selectionKeyCode: KeyCode