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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user