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,
|
label: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize, Debug)]
|
||||||
pub enum DragDropEvent {
|
pub enum DragDropEvent {
|
||||||
Dragged(DragDropPayload),
|
Dragged(DragDropPayload),
|
||||||
DragOver(DragOverPayload),
|
DragOver(DragOverPayload),
|
||||||
|
@ -103,7 +103,7 @@ pub enum DragDropEvent {
|
||||||
Cancelled,
|
Cancelled,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize, Debug)]
|
||||||
pub struct DragDropPayload {
|
pub struct DragDropPayload {
|
||||||
paths: Vec<String>,
|
paths: Vec<String>,
|
||||||
position: dpi::PhysicalPosition,
|
position: dpi::PhysicalPosition,
|
||||||
|
@ -119,7 +119,7 @@ impl DragDropPayload {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize, Debug)]
|
||||||
pub struct DragOverPayload {
|
pub struct DragOverPayload {
|
||||||
position: dpi::PhysicalPosition,
|
position: dpi::PhysicalPosition,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue