Fix editor width in interactive response (#177007)

This commit is contained in:
Rob Lourens 2023-03-13 17:03:57 -05:00 committed by GitHub
parent 5c94e9f6dc
commit 2f2dbdbc80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});
}