提交 484d69c9 编写于 作者: S Sandeep Somavarapu

#27823 Fix size is not updated when header is toggled

上级 654adde4
......@@ -407,6 +407,22 @@ export abstract class AbstractCollapsibleView extends HeaderView {
this.updateSize();
}
showHeader(): boolean {
const result = super.showHeader();
if (result) {
this.updateSize();
}
return result;
}
hideHeader(): boolean {
const result = super.hideHeader();
if (result) {
this.updateSize();
}
return result;
}
dispose(): void {
if (this.headerClickListener) {
this.headerClickListener.dispose();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册