fix: refactor dnd impl to support responsive widget
This commit is contained in:
parent
9af083e0c5
commit
173ddca60f
12 changed files with 61 additions and 27 deletions
|
|
@ -296,10 +296,11 @@ where
|
|||
&self,
|
||||
state: &Tree,
|
||||
layout: Layout<'_>,
|
||||
renderer: &Renderer,
|
||||
dnd_rectangles: &mut iced_style::core::clipboard::DndDestinationRectangles,
|
||||
) {
|
||||
self.container
|
||||
.drag_destinations(state, layout, dnd_rectangles);
|
||||
.drag_destinations(state, layout, renderer, dnd_rectangles);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue