Skip to main content

contain_wheel_in

Function contain_wheel_in 

Source
pub fn contain_wheel_in(ui: &Ui, rect: Rect, ways: [bool; 2])
Expand description

contain_wheel for what scrolls in a way a [ScrollAreaOutput] does not tell: over rect, the wheel stops on the ways of ways ([x, y]) that are set. Taken as egui’s own scroll area takes it, and only by the axis it would take.