native file drop

This commit is contained in:
Jonathan Kelley committed 2024-03-05 14:11:12 -08:00
1 parent 78d16536a7
commit 624e58bd78
6 files changed
+115 -8

No files matched your search

+1 -1
View File
@@ -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>,
+1 -1
View File
@@ -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.