mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
fix missing total height change event.
This commit is contained in:
committed by
Sandeep Somavarapu
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) {
|
||||
|
||||
Reference in New Issue
Block a user