Fix z-index targeting for drag and drop
This commit is contained in:
parent
5355007719
commit
7ec9cc08c7
4 changed files with 20 additions and 14 deletions
|
@ -1033,13 +1033,13 @@ impl Deref for MouseExitEvent {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub struct DroppedFiles(pub(crate) SmallVec<[PathBuf; 2]>);
|
||||
pub struct ExternalPaths(pub(crate) SmallVec<[PathBuf; 2]>);
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum FileDropEvent {
|
||||
Entered {
|
||||
position: Point<Pixels>,
|
||||
files: DroppedFiles,
|
||||
files: ExternalPaths,
|
||||
},
|
||||
Pending {
|
||||
position: Point<Pixels>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue