A recent egui release introduced smoothed scrolling (InputState::smooth_scroll_delta) which is used by ScrollArea and other things.
For mice with discreet scroll steps this is a big win, making scrolling smooth and nice.
For platforms with smooth scroll input (e.g. Mac trackpads) however, it only adds latency for no win.
It would be nice if we could somehow get the best of two worlds, i.e. only apply the smoothing in case the input it sharp/discreet.
A recent egui release introduced smoothed scrolling (
InputState::smooth_scroll_delta) which is used byScrollAreaand other things.For mice with discreet scroll steps this is a big win, making scrolling smooth and nice.
For platforms with smooth scroll input (e.g. Mac trackpads) however, it only adds latency for no win.
It would be nice if we could somehow get the best of two worlds, i.e. only apply the smoothing in case the input it sharp/discreet.