Skip to content

Commit be402f0

Browse files
committed
grid branch nodes should not forward children's preferred sizes
1 parent 5a0091f commit be402f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/browser/ui/grid/gridview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ class BranchNode implements ISplitView, IDisposable {
300300
}
301301

302302
private onDidChildrenChange(): void {
303-
const onDidChildrenChange = Event.any(...this.children.map(c => c.onDidChange));
303+
const onDidChildrenChange = Event.map(Event.any(...this.children.map(c => c.onDidChange)), () => undefined);
304304
this.childrenChangeDisposable.dispose();
305305
this.childrenChangeDisposable = onDidChildrenChange(this._onDidChange.fire, this._onDidChange);
306306

0 commit comments

Comments
 (0)