summaryrefslogtreecommitdiffstats
path: root/widget/src/container.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-12-03 22:03:06 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-12-10 04:51:08 +0100
commitd09d5d45ae4697eef277dfe30756b91c7d802a94 (patch)
treece1852b218aa46f5400cee383ccfb68faa61abaf /widget/src/container.rs
parentd6182299b9db7a1928b7740736d53196e33d66e3 (diff)
downloadiced-d09d5d45ae4697eef277dfe30756b91c7d802a94.tar.gz
iced-d09d5d45ae4697eef277dfe30756b91c7d802a94.tar.bz2
iced-d09d5d45ae4697eef277dfe30756b91c7d802a94.zip
Draft `iced_test` crate and test `todos` example
Diffstat (limited to 'widget/src/container.rs')
-rw-r--r--widget/src/container.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/container.rs b/widget/src/container.rs
index d9740f72..a411a7d2 100644
--- a/widget/src/container.rs
+++ b/widget/src/container.rs
@@ -493,11 +493,11 @@ pub fn visible_bounds(id: Id) -> Task<Option<Rectangle>> {
impl Operation<Option<Rectangle>> for VisibleBounds {
fn scrollable(
&mut self,
- _state: &mut dyn widget::operation::Scrollable,
_id: Option<&widget::Id>,
bounds: Rectangle,
_content_bounds: Rectangle,
translation: Vector,
+ _state: &mut dyn widget::operation::Scrollable,
) {
match self.scrollables.last() {
Some((last_translation, last_viewport, _depth)) => {