refine(selection): allow 250ms before a small pointer drag starts

This commit is contained in:
gianlucafiore committed 2026-10-15 20:22:09 -03:00
1 parent 52e8cd1002
commit 0004113e0a
1 file changed
+1 -1
+1 -1
View File
@@ -380,7 +380,7 @@ use iced::window;
use iced::{mouse, Point, Task, Theme};
use std::sync::Arc;
pub(super) const POLY_START_DELAY_MS: u128 = 150;
pub(super) const POLY_START_DELAY_MS: u128 = 250;
/// Squared screen distance (12 px) past which a left press is a drag
/// without waiting for `POLY_START_DELAY_MS`.
pub(super) const DRAG_START_FAST_PX2: f32 = 144.0;