This commit is contained in:
Ashley Wulber 2024-04-04 19:56:24 -04:00 committed by Jeremy Soller
parent 94ee2c7a63
commit fa31f42cd8
4 changed files with 48 additions and 2 deletions

View file

@ -209,6 +209,17 @@ where
.overlay(&mut tree.children[0], layout, renderer)
}
}
fn drag_destinations(
&self,
tree: &Tree,
layout: Layout<'_>,
dnd_rectangles: &mut iced_core::clipboard::DndDestinationRectangles,
) {
self.content
.as_widget()
.drag_destinations(&tree.children[0], layout, dnd_rectangles);
}
}
impl<'a, Message, Renderer> From<Popover<'a, Message, Renderer>>