feat(text_context_menu): always show items, but disable them
This commit is contained in:
parent
a401af8b1c
commit
56a210bb4e
5 changed files with 48 additions and 22 deletions
|
|
@ -355,6 +355,8 @@ impl<'a, Message: Clone + 'static> Widget<Message, crate::Theme, Renderer> for S
|
|||
selected_text,
|
||||
false,
|
||||
has_selection,
|
||||
self.inner.has_text(&tree.children[0]),
|
||||
self.inner.clipboard_has_text(&tree.children[0]),
|
||||
&menu_bar_state,
|
||||
&pending_action,
|
||||
renderer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue