mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-15 08:23:37 +01:00
Fixes #2548: make next layout call proceed when changing strategy while off-dom
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user