fix(app-tray): increase dnd threshold from 5 to 16

This commit is contained in:
Ashley Wulber 2024-05-14 16:41:05 -04:00 committed by Michael Murphy
parent 42b4145626
commit 35a8197670

View file

@ -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)