Skip to content

Smooth scrolling introduced latency #4401

@emilk

Description

@emilk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    rerunDesired for Rerun.io

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions