mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Avoids focusing a view, instead focus container
This commit is contained in:
@@ -283,10 +283,7 @@ CommandsRegistry.registerCommand('_workbench.action.moveViews', async function (
|
||||
}
|
||||
}
|
||||
|
||||
const focusView = options.viewIds[options.viewIds.length - 1];
|
||||
if (focusView) {
|
||||
await accessor.get(IViewsService).openView(focusView, true);
|
||||
}
|
||||
await accessor.get(IViewsService).openViewContainer(destination.id, true);
|
||||
});
|
||||
|
||||
export class MoveViewsAPICommand {
|
||||
|
||||
Reference in New Issue
Block a user