iced: propagate pane drag destinations
This commit is contained in:
parent
1fb7e08f23
commit
a489a6b790
9 changed files with 142 additions and 15 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue