mirror of
https://github.com/Microsoft/vscode
synced 2024-09-29 16:01:05 +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 (state.metadataHeight || state.outerWidth) {
|
||||||
if (this._metadataEditorContainer) {
|
if (this._metadataEditorContainer) {
|
||||||
this._metadataEditorContainer.style.height = `${this.cell.layoutInfo.metadataHeight}px`;
|
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