From 8f51e68d2d540420cc96c1a61e7a192638700efe Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Mon, 19 Oct 2026 14:54:28 +0200 Subject: [PATCH] launcher: draw the keyboard focus ring (a shadow needs some blur in GPUI) Co-Authored-By: Claude Opus 5.5 --- launcher/src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/launcher/src/main.rs b/launcher/src/main.rs index 8d2ff508b..5f6714e55 100644 --- a/launcher/src/main.rs +++ b/launcher/src/main.rs @@ -918,8 +918,9 @@ fn keyboard(el: Stateful
, t: &Theme) -> Stateful
{ s.shadow(vec![gpui::BoxShadow { color: ring, offset: gpui::point(px(0.), px(0.)), - blur_radius: px(0.), - spread_radius: px(2.), + // GPUI draws nothing for a shadow without blur: a half-pixel keeps it crisp. + blur_radius: px(0.5), + spread_radius: px(2.5), }]) } else { s