From 7a16e302d28593e71002ddb6a3418a93d3b824ec Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Fri, 30 Oct 2026 12:12:31 -0700 Subject: [PATCH] Panels: a panel's function key restores only the tabs its group hid Hiding a group with a panel's function key records the tabs it closed, and the next press reopens only that set with the panel in front. A tab closed on its own before the group was hidden, or reopened and closed again while the group was hidden, stays closed. The record is saved with the workspace. --- crates/ui-egui/src/panel_docking.rs | 42 ++++++++++------------ crates/ui-egui/src/panel_docking/tests.rs | 38 +++++++++++++++++++- crates/ui-egui/src/panels/library_panel.rs | 7 ++++ crates/ui-egui/src/state.rs | 4 +++ crates/ui-egui/src/workspaces.rs | 5 +++ 5 files changed, 72 insertions(+), 24 deletions(-) diff --git a/crates/ui-egui/src/panel_docking.rs b/crates/ui-egui/src/panel_docking.rs index 54f9666ad..02a95cfd5 100644 --- a/crates/ui-egui/src/panel_docking.rs +++ b/crates/ui-egui/src/panel_docking.rs @@ -353,38 +353,30 @@ pub(crate) fn hide_group(app: &mut VectorcraftApp, panel: &str) -> Result