From 4297d1a04a7d15abf5ec8ac2058a06df34aaf618 Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Wed, 12 Apr 2023 22:45:43 -0700 Subject: Add missing operations for component --- lazy/src/component.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'lazy/src/component.rs') 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::>>>(); -- cgit