Merge pull request #1678 from frey/fix/mapped_operations_missing
Mapped operations is missing text_input()
This commit is contained in:
commit
dc6f9f432a
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 crate::widget::Id;
|
||||||
|
|
||||||
use iced_futures::MaybeSend;
|
use iced_futures::MaybeSend;
|
||||||
|
|
@ -86,6 +88,14 @@ where
|
||||||
self.operation.focusable(state, id);
|
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>) {
|
fn custom(&mut self, state: &mut dyn Any, id: Option<&Id>) {
|
||||||
self.operation.custom(state, id);
|
self.operation.custom(state, id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue