Add OS file drop event handler

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Kirill Bulatov
2023-10-24 19:26:06 +02:00
co-authored by Nathan Sobo
parent 5b04f965fa
commit a01b507ef4
9 changed files with 141 additions and 85 deletions
+1 -1
View File
@@ -821,7 +821,7 @@ impl<G: 'static> DerefMut for GlobalLease<G> {
}
pub(crate) struct AnyDrag {
pub drag_handle_view: AnyView,
pub drag_handle_view: Option<AnyView>,
pub cursor_offset: Point<Pixels>,
pub state: AnyBox,
pub state_type: TypeId,