Function drag_intent

Source
pub(crate) fn drag_intent(ui: &Ui) -> bool
Expand description

“The user really means to drag this”: the primary button is down and the pointer has moved past DRAG_SLOP. egui also promotes a stationary long press to a drag (is_decidedly_dragging), and its Sense::drag widgets start dragging on the press of ANY button — which is how a right-click used to pluck a card out of a panel instead of opening its menu.