File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -218,12 +218,16 @@ export default {
218
218
if ( ! clickedNode ) {
219
219
return null
220
220
}
221
+
221
222
const multiselectKeys = Array . isArray ( this . multiselectKey ) ? this . multiselectKey : [ this . multiselectKey ]
222
223
const multiselectKeyIsPressed = event && ! ! multiselectKeys . find ( key => event [ key ] )
224
+ // const shiftKeyIsPressed = event && event.shiftKey && this.allowMultiselect
225
+
223
226
addToSelection = ( multiselectKeyIsPressed || addToSelection ) && this . allowMultiselect
224
227
225
- const selectedNode = this . getNode ( path )
226
228
const newNodes = this . copy ( this . currentValue )
229
+ // const newSelectedNodes = this.getSelected(newNodes)
230
+
227
231
const shiftSelectionMode = this . allowMultiselect && event && event . shiftKey && this . lastSelectedNode
228
232
const selectedNodes = [ ]
229
233
let shiftSelectionStarted = false
You can’t perform that action at this time.
0 commit comments