Fix gui-editor resizing problem (#3498)

This commit is contained in:
Thomas Lovén 2019-08-19 22:19:56 +02:00 committed by Paulus Schoutsen
parent bcb26bd960
commit c542b242fe

View File

@ -68,6 +68,7 @@ export class HuiCardEditor extends LitElement {
if (this._yamlEditor) {
this._yamlEditor.codemirror.refresh();
}
fireEvent(this as HTMLElement, "iron-resize");
}, 1);
this._error = undefined;
} catch (err) {