Skip to main content

zoom_step

Function zoom_step 

Source
pub fn zoom_step(current: f32, by: i32) -> f32
Expand description

The zoom step by steps from current (the nearest step first), clamped to the ends.