提交 ef91c0fb 编写于 作者: I isidor

open editors: always update the tree with 250 delay

#6749
上级 a65bfe9c
...@@ -79,7 +79,7 @@ export class OpenEditorsView extends AdaptiveCollapsibleViewletView { ...@@ -79,7 +79,7 @@ export class OpenEditorsView extends AdaptiveCollapsibleViewletView {
this.highlightEntry(new OpenEditor(this.model.activeGroup.activeEditor, this.model.activeGroup)); this.highlightEntry(new OpenEditor(this.model.activeGroup.activeEditor, this.model.activeGroup));
} }
} }
}, 0); }, 250);
} }
public renderHeader(container: HTMLElement): void { public renderHeader(container: HTMLElement): void {
...@@ -239,6 +239,7 @@ export class OpenEditorsView extends AdaptiveCollapsibleViewletView { ...@@ -239,6 +239,7 @@ export class OpenEditorsView extends AdaptiveCollapsibleViewletView {
} }
private getExpandedBodySize(model: IEditorStacksModel): number { private getExpandedBodySize(model: IEditorStacksModel): number {
console.log('getting expanded body size');
return OpenEditorsView.computeExpandedBodySize(model, this.maxVisibleOpenEditors, this.dynamicHeight); return OpenEditorsView.computeExpandedBodySize(model, this.maxVisibleOpenEditors, this.dynamicHeight);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册