Clear drop_target when leaving drag

This commit is contained in:
Ian Douglas Scott 2024-05-01 15:09:03 -07:00
parent d05dfd7016
commit 0f237155bf

View file

@ -525,7 +525,7 @@ impl Application for App {
}
Msg::DndWorkspaceLeave => {
// XXX Doesn't work since leave for a widget may come after enter for another
// self.drop_target = None;
self.drop_target = None;
return accept_mime_type(None);
}
Msg::DndWorkspaceDrop => {