native file drop
This commit is contained in:
6 files changed
+115
-8
No files matched your search
@@ -109,7 +109,7 @@ impl PointerInteraction for DragData {
|
||||
/// A serialized version of DragData
|
||||
#[derive(serde::Serialize, serde::Deserialize, Debug, PartialEq, Clone)]
|
||||
pub struct SerializedDragData {
|
||||
mouse: crate::point_interaction::SerializedPointInteraction,
|
||||
pub mouse: crate::point_interaction::SerializedPointInteraction,
|
||||
|
||||
#[serde(default)]
|
||||
files: Option<crate::file_data::SerializedFileEngine>,
|
||||
|
||||
@@ -50,7 +50,7 @@ pub trait ModifiersInteraction {
|
||||
|
||||
#[cfg(feature = "serialize")]
|
||||
#[derive(serde::Serialize, serde::Deserialize, Debug, PartialEq, Clone, Default)]
|
||||
pub(crate) struct SerializedPointInteraction {
|
||||
pub struct SerializedPointInteraction {
|
||||
pub alt_key: bool,
|
||||
|
||||
/// The button number that was pressed (if applicable) when the mouse event was fired.
|
||||
|
||||
Reference in new issue
Block a user