Fix z-index targeting for drag and drop

This commit is contained in:
Marshall Bowers 2023-10-25 20:49:40 +02:00
parent 5355007719
commit 7ec9cc08c7
4 changed files with 20 additions and 14 deletions

View file

@ -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>,