mirror of
https://github.com/Microsoft/vscode
synced 2024-09-29 07:51:27 +00:00
Fix issue with sizing of metadata editor
This commit is contained in:
parent
7e87eda1b4
commit
9f18d30399
|
@ -1794,7 +1794,10 @@ export class ModifiedElement extends AbstractElementRenderer {
|
|||
if (state.metadataHeight || state.outerWidth) {
|
||||
if (this._metadataEditorContainer) {
|
||||
this._metadataEditorContainer.style.height = `${this.cell.layoutInfo.metadataHeight}px`;
|
||||
this._metadataEditor?.layout();
|
||||
this._metadataEditor?.layout({
|
||||
width: this._editor!.getViewWidth(),
|
||||
height: this.cell.layoutInfo.metadataHeight
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue