mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix missing total height change event.
This commit is contained in:
parent
e984154e11
commit
041f9b975b
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue