From 35a81976700a5ce9e8abef5dfc3ca20a307dd90b Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Tue, 14 May 2024 16:41:05 -0400 Subject: [PATCH] fix(app-tray): increase dnd threshold from 5 to 16 --- cosmic-app-list/src/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cosmic-app-list/src/app.rs b/cosmic-app-list/src/app.rs index 49a4abe9..72e7bf15 100755 --- a/cosmic-app-list/src/app.rs +++ b/cosmic-app-list/src/app.rs @@ -298,6 +298,7 @@ impl DockItem { .unwrap_or_else(|| Message::Popup(desktop_info.id.clone())) }), ) + .drag_threshold(16.) .on_drag(|_, _| Message::StartDrag(desktop_info.id.clone())) .on_cancelled(Message::DragFinished) .on_finished(Message::DragFinished)