fix: request redraw in selectable text and context menu
This commit is contained in:
parent
8a017a15ee
commit
030a7dbe02
3 changed files with 5 additions and 1 deletions
|
|
@ -377,6 +377,7 @@ impl<'a, Message: Clone + 'static> Widget<Message, crate::Theme, Renderer> for S
|
|||
crate::widget::text_context_menu::TextCtxAction::Copy => {}
|
||||
crate::widget::text_context_menu::TextCtxAction::SelectAll => {
|
||||
self.inner.select_all(&mut tree.children[0]);
|
||||
shell.request_redraw();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue