diff --git a/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts b/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts index 307d4d30f63..26906df9119 100644 --- a/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts +++ b/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.ts @@ -390,7 +390,7 @@ export class MultiEditorTabsControl extends EditorTabsControl { tabsContainer.classList.remove('scroll'); if (e.target === tabsContainer) { - this.onDrop(e, this.tabsModel.count, tabsContainer); + this.onDrop(e, this.groupView.count, tabsContainer); } } }));