Added Debug to DragDropEvent.
This commit is contained in:
parent
9c3cd94275
commit
694a3f6f87
1 changed files with 3 additions and 3 deletions
|
@ -95,7 +95,7 @@ struct WindowLabel {
|
|||
label: String,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub enum DragDropEvent {
|
||||
Dragged(DragDropPayload),
|
||||
DragOver(DragOverPayload),
|
||||
|
@ -103,7 +103,7 @@ pub enum DragDropEvent {
|
|||
Cancelled,
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct DragDropPayload {
|
||||
paths: Vec<String>,
|
||||
position: dpi::PhysicalPosition,
|
||||
|
@ -119,7 +119,7 @@ impl DragDropPayload {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct DragOverPayload {
|
||||
position: dpi::PhysicalPosition,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue