Share settings kind tabs sit at the bottom next to the trigger so they stay put when the card height changes
Browse files at this commit77b4013566b5d693d223cbd1011d0b8b08e6bc7bParent: 0edf6ef- ui
- share settings kind tabs sit at the bottom next to the trigger so they stay put when the card height changes
1 changed file +7 -7
crates/client/src/gui/share_view.rsmodified+7 -7
| @@ -621,13 +621,6 @@ fn settings_card(entity: &Entity<Yumush>, yumush: &Yumush, palette: Palette) -> | ||
| 621 | 621 | .border_1() |
| 622 | 622 | .border_color(palette.border) |
| 623 | 623 | .bg(palette.panel) |
| 624 | - .child(segmented( | |
| 625 | - [(Kind::Screen, "Screen"), (Kind::Camera, "Camera")], | |
| 626 | - kind, | |
| 627 | - entity, | |
| 628 | - palette, | |
| 629 | - Yumush::set_share_tab, | |
| 630 | - )) | |
| 631 | 624 | .child(field( |
| 632 | 625 | "Resolution", |
| 633 | 626 | segmented( |
| @@ -680,6 +673,13 @@ fn settings_card(entity: &Entity<Yumush>, yumush: &Yumush, palette: Palette) -> | ||
| 680 | 673 | )) |
| 681 | 674 | .children(audio_list(entity, yumush, palette)) |
| 682 | 675 | }) |
| 676 | + .child(segmented( | |
| 677 | + [(Kind::Screen, "Screen"), (Kind::Camera, "Camera")], | |
| 678 | + kind, | |
| 679 | + entity, | |
| 680 | + palette, | |
| 681 | + Yumush::set_share_tab, | |
| 682 | + )) | |
| 683 | 683 | } |
| 684 | 684 | |
| 685 | 685 | fn share_limits(source: Option<Source>) -> (Vec<Resolution>, Vec<Fps>) { |