Skip to main content

FLOOR_REST_SHARE

Constant FLOOR_REST_SHARE 

pub const FLOOR_REST_SHARE: f32 = 0.7; // 0.699999988f32
Expand description

Share of the theme’s hover lift a floored control’s rest face sits at. A theme whose hover is quieter than the stock half step (crate::tokens::ResponseStep::LIFT_ADMITTED admits 0.25) takes the rest face down with it, so a hovered control never reads quieter than an idle one on any theme.