Mapped operations is missing text_input()...
This fixes a bug where some operations could be dropped.
This commit is contained in:
parent
818ae4977a
commit
d2008eed47
1 changed files with 11 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
use crate::widget::operation::{self, Focusable, Operation, Scrollable};
|
||||
use crate::widget::operation::{
|
||||
self, Focusable, Operation, Scrollable, TextInput,
|
||||
};
|
||||
use crate::widget::Id;
|
||||
|
||||
use iced_futures::MaybeSend;
|
||||
|
|
@ -86,6 +88,14 @@ where
|
|||
self.operation.focusable(state, id);
|
||||
}
|
||||
|
||||
fn text_input(
|
||||
&mut self,
|
||||
state: &mut dyn TextInput,
|
||||
id: Option<&Id>,
|
||||
) {
|
||||
self.operation.text_input(state, id);
|
||||
}
|
||||
|
||||
fn custom(&mut self, state: &mut dyn Any, id: Option<&Id>) {
|
||||
self.operation.custom(state, id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue