fix(menu_bar): use corner radius from theme for menu border

This commit is contained in:
Rakshat 2026-04-27 18:30:52 +05:30 committed by GitHub
parent 5825afb0da
commit 51be7dc42d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,7 +71,7 @@ impl StyleSheet for Theme {
background: component.base.into(),
border_width: 1.0,
bar_border_radius: cosmic.corner_radii.radius_xl,
menu_border_radius: cosmic.corner_radii.radius_s.map(|x| x + 2.0),
menu_border_radius: cosmic.corner_radii.radius_m,
border_color: component.divider.into(),
background_expand: [1; 4],
path: component.hover.into(),