From a375a9bb4ffa26595bf61e07cdfa486f10833dbb Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Tue, 2 Jul 2024 18:40:07 +0200 Subject: [PATCH] Multi tab: cannot drop multiple tabs into separate workspace window (#219671) (fix #212885) --- src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts b/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts index 4ea2a840df4..637d3486046 100644 --- a/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts +++ b/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts @@ -1106,7 +1106,7 @@ export class MultiEditorTabsControl extends EditorTabsControl { } // Apply some datatransfer types to allow for dragging the element outside of the application - this.doFillResourceDataTransfers([editor], e, isNewWindowOperation); + this.doFillResourceDataTransfers(selectedEditors, e, isNewWindowOperation); scheduleAtNextAnimationFrame(getWindow(this.parent), () => this.updateDropFeedback(tab, false, e, tabIndex)); },