pub fn contain_wheel<R>(ui: &Ui, out: &ScrollAreaOutput<R>)Expand description
Keeps the wheel over a scroll area just drawn from what scrolls around it, for
a view that shows its own ScrollArea (show_viewport, show_rows);
UiPop::scroll_area_contained does it for the others. Call it right after
the area, in the Ui it was shown in.
Only on the ways the area can go: with nothing to scroll one way, the wheel goes on to the area around it that way, so a short list does not stop a panel scrolling under the pointer. It reads those ways from the bars, as the keys do: an area with its bars hidden holds nothing.
upstream: a scroll area at its end leaves the wheel to its parents, and nothing asks it to keep it (docs/upstream.md).