fix missing total height change event.

This commit is contained in:
rebornix
2021-02-03 11:47:46 -08:00
parent 6931bc7132
commit 4beba243a0
@@ -122,6 +122,12 @@ export class CodeCell extends Disposable {
}
}));
this._register(viewCell.onDidChangeLayout((e) => {
if (e.totalHeight) {
this.relayoutCell();
}
}));
this._register(templateData.editor.onDidContentSizeChange((e) => {
if (e.contentHeightChanged) {
if (this.viewCell.layoutInfo.editorHeight !== e.contentHeight) {