-
Notifications
You must be signed in to change notification settings - Fork 330
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] Scrolling element using scroll button #422
Comments
I did a PR just for testing purpose. It works really similar for the feature that I mentioned here, but I'm still have some doubts how the RmlUi Core works. I have to find the properly way to do it. |
We can let this issue open and close when we deal with these items:
|
…axis scrolling, use quadratic velocity model with deadzone for improved feeling, see #422
Hey, I've made some effort at improving this further. I've added a deadzone, quadratic distance-velocity model, two-axis scrolling, and subpixel velocity. I also refactored it a bit, and figured this feature is called autoscroll elsewhere, so I try to use that name consistently now. Can you test it, and let me know how it works and feels for you? |
Oooh pretty cool, the auto scroll looks smoother for me and the code is very understandable. LGTM! |
Cheers, glad you like it! Yeah, let's consider this done. I'm also working on smooth scrolling while we're at it, so keep an eye out for that. I'll ping you for some feedback when it's done if you don't mind :) |
It would be great if we could scroll the element when pressing the scroll button.
The text was updated successfully, but these errors were encountered: