mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Sort by view column
This commit is contained in:
@@ -63,6 +63,7 @@ export class ExtHostEditorTabs implements IExtHostEditorTabs {
|
||||
isActive: dto.isActive
|
||||
});
|
||||
});
|
||||
this._tabs = this._tabs.sort((t1, t2) => t1.viewColumn - t2.viewColumn);
|
||||
const oldActiveTab = this._activeTab;
|
||||
this._activeTab = activeIndex === -1 ? undefined : this._tabs[activeIndex];
|
||||
if (this._activeTab !== oldActiveTab) {
|
||||
|
||||
Reference in New Issue
Block a user