Added category context menus

This commit is contained in:
Adam Cosner 2025-01-06 12:15:44 -08:00
parent 343bff9e9a
commit 7c2f2de4c4
2 changed files with 4 additions and 2 deletions

View file

@ -265,7 +265,7 @@ where
..
} = theme::active().cosmic().spacing;
Self {
let mut result = Self {
model,
element_padding: Padding::from(0),
@ -291,6 +291,8 @@ where
on_category_mb_right: None,
category_context_builder: Box::new(|_| None),
}
result
}
pub fn on_item_left_click<F>(mut self, on_click: F) -> Self