Added the new elements and wired through the pointers to update the pane axis ratios
This commit is contained in:
parent
488b41826b
commit
5385ca411b
4 changed files with 375 additions and 109 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue