Implement Widget::operate for TextInput
This commit is contained in:
parent
80688689aa
commit
52f84e51e9
12 changed files with 178 additions and 22 deletions
|
|
@ -485,9 +485,11 @@ where
|
|||
renderer: &Renderer,
|
||||
operation: &mut dyn widget::Operation<Message>,
|
||||
) {
|
||||
self.root
|
||||
.as_widget()
|
||||
.operate(Layout::new(&self.base), operation);
|
||||
self.root.as_widget().operate(
|
||||
&mut self.state,
|
||||
Layout::new(&self.base),
|
||||
operation,
|
||||
);
|
||||
|
||||
if let Some(layout) = self.overlay.as_ref() {
|
||||
if let Some(overlay) = self.root.as_widget().overlay(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue