mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
explorer multi selection: only focus an element if it joins the selection
fixes #43233
This commit is contained in:
parent
24c4f221e7
commit
c31b2f2ad6
|
@ -391,8 +391,8 @@ export class FileController extends WorkbenchTreeController implements IDisposab
|
|||
tree.setSelection(selection.filter(s => s !== stat));
|
||||
} else {
|
||||
tree.setSelection(selection.concat(stat));
|
||||
tree.setFocus(stat, payload);
|
||||
}
|
||||
tree.setFocus(stat, payload);
|
||||
}
|
||||
|
||||
// Allow to unselect
|
||||
|
|
Loading…
Reference in a new issue