Fix editor width in interactive response (#177007)

This commit is contained in:
Rob Lourens
2023-03-13 23:03:57 +01:00
committed by GitHub
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);
});
}