fix: menu folder corners

This commit is contained in:
Ashley Wulber 2026-06-29 15:47:13 -04:00 committed by Ashley Wulber
parent cad4be9401
commit a365d45091
2 changed files with 18 additions and 2 deletions

View file

@ -472,7 +472,10 @@ impl<'a, Message: 'a + Clone> Widget<Message, crate::Theme, crate::Renderer>
theme.active(state.is_focused, self.selected, &self.style)
};
if matches!(self.style, crate::theme::Button::MenuItem) {
if matches!(
self.style,
crate::theme::Button::MenuItem | crate::theme::Button::MenuFolder
) {
match theme.list_item_position {
Some((Alignment::Start, _)) => {
styling.border_radius =