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

request: Smooth Scrolling #51

Closed
Viqsi opened this issue Sep 25, 2020 · 3 comments
Closed

request: Smooth Scrolling #51

Viqsi opened this issue Sep 25, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@Viqsi
Copy link

Viqsi commented Sep 25, 2020

Tweetz's scrolling right now is extremely jerky in behavior - it seems to scroll in 150-pixel "chunks" at a time rather than scrolling pixel-by-pixel like most things do nowadays (either that or they go line-by-line, but there really aren't consistent "lines" to work with here). Is this something that can be implemented?

(I've literally never done anything with C#, or I'd look into it...)

@mike-ward
Copy link
Owner

If you're talking about mouse wheel scrolling, Tweetz scrolls by the mouse wheel delta value which is system dependent. (See WheelSpeedScrollViewer.cs)

When I first implemented Tweetz it used 1 pixel per mouse wheel scroll but it didn't scroll nearly enough to be useful.

Many applications actually scroll by a number of lines and animate the transition. I think this is what you're requesting.

WPF does not support this out of the box and it's a bit complicated to implement. To get an idea see https://stackoverflow.com/questions/20731402/animated-smooth-scrolling-on-scrollviewer.

I like the idea and will look into implementing it in a future version. Thanks for the feedback.

@mike-ward mike-ward added the enhancement New feature or request label Sep 25, 2020
@mike-ward
Copy link
Owner

I have a prototype. Care to try it?

mike-ward added a commit that referenced this issue Sep 27, 2020
@mike-ward
Copy link
Owner

released in v2.8.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants