diff options
author | 2023-04-13 16:13:14 +0200 | |
---|---|---|
committer | 2023-04-13 16:13:14 +0200 | |
commit | 25fc3ff7f110f7260d03fdd19bafeb3a1c62bee2 (patch) | |
tree | 655ec693c57ffcc54ec8733c18962bc6f41e8177 /lazy | |
parent | c79cc2d2b3df99f69b048c68e503916c779a1102 (diff) | |
parent | 4297d1a04a7d15abf5ec8ac2058a06df34aaf618 (diff) | |
download | iced-25fc3ff7f110f7260d03fdd19bafeb3a1c62bee2.tar.gz iced-25fc3ff7f110f7260d03fdd19bafeb3a1c62bee2.tar.bz2 iced-25fc3ff7f110f7260d03fdd19bafeb3a1c62bee2.zip |
Merge pull request #1791 from tarkah/fix/component-operate
Add missing operations for component
Diffstat (limited to '')
-rw-r--r-- | lazy/src/component.rs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs index f6c331b9..4a43223d 100644 --- a/lazy/src/component.rs +++ b/lazy/src/component.rs @@ -361,6 +361,22 @@ where ) { self.operation.text_input(state, id); } + + fn scrollable( + &mut self, + state: &mut dyn widget::operation::Scrollable, + id: Option<&widget::Id>, + ) { + self.operation.scrollable(state, id); + } + + fn custom( + &mut self, + state: &mut dyn std::any::Any, + id: Option<&widget::Id>, + ) { + self.operation.custom(state, id); + } } let tree = tree.state.downcast_mut::<Rc<RefCell<Option<Tree>>>>(); |