提交 04ee683b 编写于 作者: A Alex Dima

Fixes #13852: Cannot read property 'toString' of undefined

上级 7d12bd93
......@@ -686,9 +686,15 @@ export class View extends ViewEventHandler implements editorBrowser.IView, IDisp
return this.viewZones.addZone(zone);
},
removeZone: (id: number): void => {
if (!id) {
return;
}
zonesHaveChanged = this.viewZones.removeZone(id) || zonesHaveChanged;
},
layoutZone: (id: number): void => {
if (!id) {
return;
}
zonesHaveChanged = this.viewZones.layoutZone(id) || zonesHaveChanged;
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册