SIGN IN SIGN UP

dock: Avoid adding split children twice (#2596)

DockItem::split_with_sizes currently inserts every child into its
backing StackPanel twice. This removes the duplicate loop and adds a
GPUI regression test that verifies the stack contains one entry per
child.

Tested with:
- cargo test -p gpui-component dock:: --lib
M
Meow King committed
c53e73211da26b233d3dc294b9d95f93b1e8311e
Parent: 99ac437
Committed by GitHub <noreply@github.com> on 7/27/2026, 7:34:58 AM