fix(menu): use corner radius from theme
This commit is contained in:
parent
b8c429facb
commit
50d6dc3d21
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ impl Program for ContextMenu {
|
||||||
text_color: Some(component.on.into()),
|
text_color: Some(component.on.into()),
|
||||||
background: Some(Background::Color(component.base.into())),
|
background: Some(Background::Color(component.base.into())),
|
||||||
border: Border {
|
border: Border {
|
||||||
radius: 8.0.into(),
|
radius: cosmic.radius_s().into(),
|
||||||
width: 1.0,
|
width: 1.0,
|
||||||
color: component.divider.into(),
|
color: component.divider.into(),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue