-
Notifications
You must be signed in to change notification settings - Fork 299
OSX: reduce threshold (getting a much more fluid scrolling) #2551
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2551 +/- ##
=======================================
Coverage 44.93% 44.93%
=======================================
Files 352 352
Lines 14336 14336
Branches 1863 1863
=======================================
Hits 6442 6442
Misses 7669 7669
Partials 225 225
Continue to review full report at Codecov.
|
|
@jaanauati thanks for the PR tbh as a Mac User I noticed that it wasn't quite right after the PR (I forget which) came in but it was slightly improved and I don't scroll much, I'll definitely give this a try locally but since it affects multiple platforms would be good to see what the effect is for @CrossR or @badosu as well |
|
I'll give this a test when I'm home on my Windows Surface and Desktop, so we get both trackpad + trackpad events, since they are both treated differently. |
|
@jaanauati sorry for the delay on trying this out been quite busy lately but will give this a go once I get a moment |
|
Tested on Arch, looks good to me 👍 |
|
I tested this with both a mouse and a trackpad on Max OS X High Sierra and it worked nicely. Just a thought on the side: If we want to make this even smoother and more accurate, could we directly use the Maybe we could even decide based on the Edit: Or even better: calculate the number of rows and send those via In any case, what you built so far already seems like a great improvement. Let's merge it once @CrossR was able to verify that it works on Windows :) |
|
Tested this on my Surface and with an MX Master and I didn't notice any difference, so if its helping on Mac, thats great! |
I'm honestly not sure how scrolling is behaving for other platforms/operative systems, but it's been working a little oddly these past months for OSX, after some digging in my local I found that having a small value like
10improves things a lot getting me a more fluid scrolling experience.Note: I didn't have so much time to poke with this, so I don't know how your building system works, when tested in my local I just made the change to the minified file (
/Applications/Oni.app/Contents/Resources/app/lib/browser/vendor.bundle.js), so please let me know if i'm missing to push any bundle or something else.Thanks.