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:24:21 +02:00
parent 5b04f965fa
commit a01b507ef4
9 changed files with 141 additions and 85 deletions

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,