Skip to main content

os_scroll_axis

Function os_scroll_axis 

Source
pub fn os_scroll_axis(
    off: &Signal<f32>,
    os: &Signal<f32>,
    overscroll_enabled: bool,
    max_off: f32,
    before: f32,
    leftover: f32,
    physics: &RefCell<ScrollPhysics>,
) -> f32
Expand description

Fold leftover into one axis’s rubber band after the nested parent chain has declined it. Returns whatever is still unconsumed.