提交 579c93e6 编写于 作者: I isidor

open editors view: fix get index for groups

上级 9d59f268
......@@ -222,7 +222,7 @@ export class OpenEditorsView extends ViewsViewletPanel {
for (let g of this.model.groups) {
if (g.id === group.id) {
return index + 1;
return index + (!!editor ? 1 : 0);
} else {
index += g.count + 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册