summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-09 23:51:42 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-11-09 23:51:42 +0100
commit11ec80dee21b78968e7d0339ced893da4f76a1ca (patch)
tree713972f662c33d8bbc77e55b0a3c5db1ae36d131 /native
parent1283f2153cf300272a4cb3464f8166b0ec9c83de (diff)
downloadiced-11ec80dee21b78968e7d0339ced893da4f76a1ca.tar.gz
iced-11ec80dee21b78968e7d0339ced893da4f76a1ca.tar.bz2
iced-11ec80dee21b78968e7d0339ced893da4f76a1ca.zip
Implement `Operation::scrollable` for `widget::action::Map`
Diffstat (limited to '')
-rw-r--r--native/src/widget/action.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/native/src/widget/action.rs b/native/src/widget/action.rs
index 766e902b..0345fe2b 100644
--- a/native/src/widget/action.rs
+++ b/native/src/widget/action.rs
@@ -85,4 +85,12 @@ where
) {
self.operation.focusable(state, id);
}
+
+ fn scrollable(
+ &mut self,
+ state: &mut dyn operation::Scrollable,
+ id: Option<&Id>,
+ ) {
+ self.operation.scrollable(state, id);
+ }
}