-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add smooth scrolling behavior to settings panels and DecompilerTextView #3244
Add smooth scrolling behavior to settings panels and DecompilerTextView #3244
Conversation
@SlimeNull @ltrzesniewski everyone happy with this? |
I like it, it works nice! Thanks @tom-englert for adding it to your toolbox. 🙂 I tried to add the new behavior to the duration = new(TimeSpan.FromTicks((long)(duration.TimeSpan.Ticks * absDiff / Mouse.MouseWheelDeltaForOneLine))); This line isn't executed for AvalonEdit, as I'm not sure what to do about this but it's not a blocker I suppose. |
@ltrzesniewski it has no visual effect if the |
Oh ok I see, I've also had bad experience with I can't really comment on the touchpad though. |
I am going to merge the PR at this point in time, should further improvements / changes come up, we'll handle that with another PR. |
@tom-englert I have a question, why am I not in the list of contributors? It doesn't matter if it's ILSpy or TomsToolbox. 🤓👆 |
I'm just a simple contributor, I don't manage this project. |
"and moved to TomsToolbox" - that would mean a mention would be in order there. |
I also think so, at the very least, there should be "original code source" in the code, or my name. |
You should fork from @SlimeNull's repository and do work so that everyone who contributed to the project can get the credit they deserve |
this is not a free-for-all discussion thread. |
@fawdlstty forking is not an option, since the final solution has not too much in common with the original one @SlimeNull If you like to be listed, I'd suggest to add a comment with the link to your project here https://github.com/tom-englert/TomsToolbox/blob/master/src/TomsToolbox.Wpf/Interactivity/AdvancedScrollWheelBehavior.cs. If you do it as a PR, you'll be also automatically listed as a contributor. |
supersedes #3234 by @SlimeNull; code has been cleaned up and moved to TomsToolbox