summaryrefslogtreecommitdiff
path: root/crates/iced_drop
diff options
context:
space:
mode:
Diffstat (limited to 'crates/iced_drop')
-rw-r--r--crates/iced_drop/src/widget/droppable.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/iced_drop/src/widget/droppable.rs b/crates/iced_drop/src/widget/droppable.rs
index 947cf5b..196464a 100644
--- a/crates/iced_drop/src/widget/droppable.rs
+++ b/crates/iced_drop/src/widget/droppable.rs
@@ -418,6 +418,7 @@ where
tree: &'b mut Tree,
layout: Layout<'_>,
renderer: &Renderer,
+ _viewport: &iced::Rectangle,
_translation: Vector,
) -> Option<overlay::Element<'b, Message, Theme, Renderer>> {
let state: &mut State = tree.state.downcast_mut::<State>();
@@ -434,6 +435,7 @@ where
&mut tree.children[0],
layout,
renderer,
+ _viewport,
_translation,
)
}