提交 089ea2dc 编写于 作者: I isidor

panelPart: null guard

上级 b01f60e7
......@@ -220,6 +220,7 @@ export class PanelPart extends CompositePart<Panel> implements IPanelService {
}
private layoutCompositeBar(): void {
if (this.dimension) {
let availableWidth = this.dimension.width - 8; // take padding into account
if (this.toolBar) {
// adjust height for global actions showing
......@@ -227,6 +228,7 @@ export class PanelPart extends CompositePart<Panel> implements IPanelService {
}
this.compositeBar.layout(new Dimension(availableWidth, this.dimension.height));
}
}
public shutdown(): void {
// Persist Hidden State
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册