mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
@@ -1521,7 +1521,7 @@ export function getMultiSelectedEditorContexts(editorContext: IEditorCommandsCon
|
|||||||
if (focus) {
|
if (focus) {
|
||||||
const selection: Array<IEditorIdentifier | IEditorGroup> = list.getSelectedElements().filter(onlyEditorGroupAndEditor);
|
const selection: Array<IEditorIdentifier | IEditorGroup> = list.getSelectedElements().filter(onlyEditorGroupAndEditor);
|
||||||
|
|
||||||
if (selection.length > 0) {
|
if (selection.length > 1) {
|
||||||
return selection.map(elementToContext);
|
return selection.map(elementToContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user