Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smooth scrolling #3884

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Smooth scrolling #3884

merged 2 commits into from
Jan 24, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jan 24, 2024

This adds smooth scrolling in egui. This makes scrolling in a ScrollArea using a notched mouse wheel a lot nicer.

InputState::scroll_delta has been replaced by InputState::raw_scroll_delta and InputState::smooth_scroll_delta.

@emilk emilk added the egui label Jan 24, 2024
@emilk emilk merged commit 5388e65 into master Jan 24, 2024
35 checks passed
@emilk emilk deleted the emilk/smooth-scroll branch January 24, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant