mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Fix editor width in interactive response (#177007)
This commit is contained in:
parent
5c94e9f6dc
commit
2f2dbdbc80
|
@ -141,9 +141,9 @@ export class InteractiveListItemRenderer extends Disposable implements ITreeRend
|
|||
}
|
||||
|
||||
layout(width: number): void {
|
||||
this._currentLayoutWidth = width;
|
||||
this._currentLayoutWidth = width - 40; // TODO Padding
|
||||
this._editorPool.inUse.forEach(editor => {
|
||||
editor.layout(width);
|
||||
editor.layout(this._currentLayoutWidth);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue