RainwayApp / bug-tracker

Report all issues found with Rainway here, or make suggestions for new features. 🐜
https://rainway.io/
27 stars 3 forks source link

Mouse scrolling is multiplied #297

Open aaron-j-reeves opened 5 years ago

aaron-j-reeves commented 5 years ago

Mouse scrolling is multiplied

It has never worked right for me

I have windows set to scroll 3 lines per notch, but when in a rainway session, scrolling one notch moves me 10+ lines, significantly farther than normal. Also, the distance moved isnt consistent, sometimes you will scroll 16 lines, sometimes 10, so scrolling up and down will always leave you in a different spot, which makes me think the input for scrolling is getting sent numerous times due to latency or something like that

Steps

What happens

You will scroll 3-4x as far as expected

What is expected

to scroll the proper amount defined in windows

Host

Browser

Logs

n/a

SamuFinland commented 5 years ago

I have the same problem, mouse scrolling does nothing at first, but when it does, it goes at 6x multiplier downwards and 4x multiplier upwards

lynn commented 5 years ago

Hey there! Thank you for reporting. We know what causes this issue and are looking into a fix. Indeed, scroll events are getting erroneously "amplified" by Rainway. You'll hear back from us once we've resolved the issue. 🚀🎮🌟

FrobtheBuilder commented 5 years ago

Yeah the problem with this is that the smallest "scroll" increment the server is capable of receiving is still pretty big. We were dividing the value from the browser event by twenty or so, but sometimes that gets rounded to zero, sometimes 1 which is still pretty big, or an even larger value. We'll have a fix for this shortly.