Added the new elements and wired through the pointers to update the pane axis ratios

This commit is contained in:
Mikayla Maki 2023-07-12 17:53:01 -07:00
parent 488b41826b
commit 5385ca411b
No known key found for this signature in database
4 changed files with 375 additions and 109 deletions

View file

@ -4,7 +4,6 @@ pub mod notifications;
pub mod pane;
pub mod pane_group;
mod persistence;
mod adjustable_flex;
pub mod searchable;
pub mod shared_screen;
mod status_bar;
@ -2924,7 +2923,7 @@ impl Workspace {
cx: &AppContext,
) -> SerializedPaneGroup {
match pane_group {
Member::Axis(PaneAxis { axis, members }) => SerializedPaneGroup::Group {
Member::Axis(PaneAxis { axis, members, .. }) => SerializedPaneGroup::Group {
axis: *axis,
children: members
.iter()