Mapped operations is missing text_input()...

This fixes a bug where some operations could be dropped.
This commit is contained in:
frey 2023-01-26 20:39:47 -06:00
parent 818ae4977a
commit d2008eed47

View file

@ -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);
}