Add the math for pane resizing

This commit is contained in:
Mikayla Maki 2023-07-12 22:34:33 -07:00
parent 5385ca411b
commit 26b9be628e
No known key found for this signature in database
5 changed files with 103 additions and 41 deletions

View file

@ -184,11 +184,7 @@ impl SerializedPaneGroup {
}
Some((
Member::Axis(PaneAxis {
axis: *axis,
members,
ratios: Default::default()
}),
Member::Axis(PaneAxis::new(*axis, members)),
current_active_pane,
items,
))