Skip to main content

WHEEL_IDLE_GRACE

Constant WHEEL_IDLE_GRACE 

Source
pub const WHEEL_IDLE_GRACE: f32 = 0.12;
Expand description

How long (real seconds) with no wheel event before a gesture is considered truly over and momentum/spring-back are allowed to run. Short enough that release still feels immediate, long enough to absorb normal gaps between OS-delivered wheel events during one continuous gesture.