summaryrefslogtreecommitdiffstats
path: root/lazy/src/component.rs
diff options
context:
space:
mode:
authorLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2023-04-12 22:45:43 -0700
committerLibravatar Cory Forsstrom <cforsstrom18@gmail.com>2023-04-12 22:45:43 -0700
commit4297d1a04a7d15abf5ec8ac2058a06df34aaf618 (patch)
tree5ed222e915ef0f9165dcf0d44f748cf222125ca8 /lazy/src/component.rs
parentded88d79c8018f17cc348145bdc5ed593b0ce301 (diff)
downloadiced-4297d1a04a7d15abf5ec8ac2058a06df34aaf618.tar.gz
iced-4297d1a04a7d15abf5ec8ac2058a06df34aaf618.tar.bz2
iced-4297d1a04a7d15abf5ec8ac2058a06df34aaf618.zip
Add missing operations for component
Diffstat (limited to '')
-rw-r--r--lazy/src/component.rs16
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>>>>();