未验证 提交 7eb84845 编写于 作者: L Logan Ramos

Sort by view column

上级 1632a12f
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册