File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -207,12 +207,11 @@ export default {
207
207
return null
208
208
}
209
209
210
- const multiselectKeys = Array . isArray ( this . multiselectKey ) ? this . multiselectKey : [ this . multiselectKey ]
211
- const multiselectKeyIsPressed = event && ! ! multiselectKeys . find ( key => event [ key ] )
212
- // const shiftKeyIsPressed = event && event.shiftKey && this.allowMultiselect
210
+ const multiselectKeys = [ 'ctrlKey' , 'metaKey' ]
211
+ const multiselectKeyIsPressed = event && ! ! multiselectKeys . find ( key => event [ key ] ) && this . allowMultiselect
212
+
213
213
const shiftKeyIsPressed = event && event . shiftKey && this . allowMultiselect
214
214
const enableShiftSelection = shiftKeyIsPressed && this . lastSelectedNode
215
-
216
215
addToSelection = ( multiselectKeyIsPressed || addToSelection ) && this . allowMultiselect
217
216
218
217
const newNodes = this . copy ( this . currentValue )
You can’t perform that action at this time.
0 commit comments