MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / drag_delta_threshold

Method drag_delta_threshold

src/controls.rs:252–254  ·  view source on GitHub ↗

Return the minimum drag distance, in screen pixels, required before a press is treated as a drag instead of a click.

(&self)

Source from the content-addressed store, hash-verified

250 /// Return the minimum drag distance, in screen pixels, required before a
251 /// press is treated as a drag instead of a click.
252 pub fn drag_delta_threshold(&self) -> f32 {
253 self.drag_delta_threshold
254 }
255
256 /// Set the minimum drag distance, in screen pixels, required before a press
257 /// is treated as a drag instead of a click.

Callers 1

handle_mouse_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected