chore: drag destinations for responsive widget

This commit is contained in:
Ashley Wulber 2026-02-23 14:50:01 -05:00
parent 686c6afb8d
commit 86f985086f
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820

View file

@ -191,6 +191,23 @@ where
translation,
)
}
fn drag_destinations(
&self,
state: &Tree,
layout: Layout<'_>,
renderer: &Renderer,
dnd_rectangles: &mut crate::core::clipboard::DndDestinationRectangles,
) {
if let Some(l) = layout.children().next() {
self.content.as_widget().drag_destinations(
state,
l.with_virtual_offset(layout.virtual_offset()),
renderer,
dnd_rectangles,
);
}
}
}
impl<'a, Message, Theme, Renderer>