From 09cc4e79f3ad5b84f13d25b648ade7956179c292 Mon Sep 17 00:00:00 2001 From: Benjamin Christopher Simmonds <44439583+benibenj@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:27:59 +0200 Subject: [PATCH] Fix order of original/modified in Compare Selected (#225702) fix #225441 --- src/vs/workbench/contrib/files/browser/fileCommands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/files/browser/fileCommands.ts b/src/vs/workbench/contrib/files/browser/fileCommands.ts index 1311bd1839b..c17a5b80692 100644 --- a/src/vs/workbench/contrib/files/browser/fileCommands.ts +++ b/src/vs/workbench/contrib/files/browser/fileCommands.ts @@ -204,8 +204,8 @@ CommandsRegistry.registerCommand({ if (resources.length === 2) { return editorService.openEditor({ - original: { resource: resources[1] }, - modified: { resource: resources[0] }, + original: { resource: resources[0] }, + modified: { resource: resources[1] }, options: { pinned: true } }); }