aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/mobile.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/shell/mobile.rs')
-rw-r--r--src/client/shell/mobile.rs9
1 files changed, 8 insertions, 1 deletions
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;