Skip to main content

step_selection_spring

Function step_selection_spring 

Source
pub fn step_selection_spring(
    spring: &mut Spring,
    selected: bool,
    theme_class: Option<&str>,
    dt: f64,
) -> f64
Expand description

Advance a selection-highlight spring toward 1.0 when selected, 0.0 otherwise.