iced: propagate pane drag destinations

This commit is contained in:
Stephan Buys 2025-11-19 15:44:21 +02:00 committed by Ashley Wulber
parent 1fb7e08f23
commit a489a6b790
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
9 changed files with 142 additions and 15 deletions

View file

@ -224,6 +224,16 @@ impl DndDestinationRectangles {
/// Pushes a new rectangle to the list of DnD destination rectangles.
pub fn push(&mut self, rectangle: DndDestinationRectangle) {
log::debug!(
"clipboard: register dnd rectangle id={} rect=({}, {}, {}, {}) mimes={:?} actions={:?}",
rectangle.id,
rectangle.rectangle.x,
rectangle.rectangle.y,
rectangle.rectangle.width,
rectangle.rectangle.height,
rectangle.mime_types,
rectangle.actions
);
self.rectangles.push(rectangle);
}