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.
This commit is contained in:
l0ng-ai
2026-07-13 15:35:45 +08:00
committed by GitHub
parent e71efed007
commit 9a4e97c0e2
-12
View File
@@ -489,7 +489,6 @@ impl Pane<Entity<TerminalView>> {
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<Entity<TerminalView>> {
// 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 {