From 0f237155bff66fde299c8075940d5d0c2c936f99 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Wed, 1 May 2024 15:09:03 -0700 Subject: [PATCH] Clear `drop_target` when leaving drag --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5e9a58e..6ac0e6f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 => {