From 9a4e97c0e233e4cd56702bb79b5030e3f14b74f5 Mon Sep 17 00:00:00 2001 From: l0ng-ai Date: Mon, 13 Jul 2026 15:35:45 +0800 Subject: [PATCH] fix(ui): remove the active-pane corner indicator dot (#63) The focused pane is already distinguished by fading inactive panes (opacity 0.55) when a tab is split, so the corner dot was redundant. The focused flag still drives the fade. --- src/ui/pane.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/ui/pane.rs b/src/ui/pane.rs index 48c9b40e..972cbc1e 100644 --- a/src/ui/pane.rs +++ b/src/ui/pane.rs @@ -489,7 +489,6 @@ impl Pane> { Pane::Leaf(v) => { let focused = show_focus && v.read(cx).focus_handle.contains_focused(window, cx); // No full border (it reads as a hard rectangle). - // The active pane is marked by a small neutral dot in the corner. div() .size_full() .relative() @@ -503,17 +502,6 @@ impl Pane> { // the terminal and focuses it. .when(show_focus && !focused, |d| d.opacity(0.55)) .child(v.clone()) - .when(focused, |d| { - d.child( - div() - .absolute() - .top(px(5.)) - .left(px(5.)) - .size(px(7.)) - .rounded_full() - .bg(cx.theme().blue), - ) - }) .into_any_element() } Pane::Split {