From 74505861e40c48e070e711bd4de662a17b0939b3 Mon Sep 17 00:00:00 2001 From: Eric Yue Date: Sun, 20 Sep 2026 22:33:50 +0800 Subject: fix: keep workspace navigation visible in terminal theme (#4408) * fix: keep workspace navigation visible in terminal theme refs #4300 * fix: clear workspace highlight on directional pane focus refs #4300 --------- Co-authored-by: JJ Liebig --- src/client/shell/mobile.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/client/shell/mobile.rs') diff --git a/src/client/shell/mobile.rs b/src/client/shell/mobile.rs index 8f06f54b..f4ae0af0 100644 --- a/src/client/shell/mobile.rs +++ b/src/client/shell/mobile.rs @@ -768,7 +768,13 @@ fn mobile_items( palette.surface0 } } else if endpoint.endpoint_id == active_endpoint_id && workspace.focused { - palette.surface_dim + if selected_workspace_id.is_some() + && palette.surface0 == ratatui::style::Color::Reset + { + palette.panel_bg + } else { + palette.surface_dim + } } else { palette.panel_bg }; @@ -957,6 +963,7 @@ impl ClientShellState { { self.mobile_switcher_scroll = 0; self.reveal_mobile_workspace = false; + self.pending_workspace_highlight = None; self.mode = ClientShellMode::Navigate; self.navigate_workspace_id = self.focused_navigation_target(); outcome.repaint = true; -- cgit v1.2.3