提交 478ddf2f 编写于 作者: A Alex Dima

Fixes #2548: make next layout call proceed when changing strategy while off-dom

上级 c82868d0
......@@ -631,6 +631,8 @@ export class DiffEditorWidget extends EventEmitter implements editorBrowser.IDif
dimensions = dimensions || dom.getDomNodePosition(this._containerDomElement);
if (dimensions.width <= 0) {
this._width = 0;
this._height = 0;
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册