launcher: draw the keyboard focus ring (a shadow needs some blur in GPUI)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-19 14:54:28 +02:00
parent d2898fcba1
commit 8f51e68d2d
+3 -2
View File
@@ -918,8 +918,9 @@ fn keyboard(el: Stateful<Div>, t: &Theme) -> Stateful<Div> {
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