re-apply scroll multiplier for all OSes (#699)

* re-apply scroll multiplier for all OSes

* multiply const directly

---------

Co-authored-by: dromer <alexander@puikheid.nl>
This commit is contained in:
dreamer 2024-09-03 15:11:35 +02:00 committed by GitHub
parent 593d7abd19
commit 25dca490ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1041,7 +1041,7 @@ protected:
if (inSelfTest) return false;
#endif
const rack::math::Vec scrollDelta = rack::math::Vec(-ev.delta.getX(), ev.delta.getY());
const rack::math::Vec scrollDelta = rack::math::Vec(-ev.delta.getX(), ev.delta.getY()) * 50 ;
const int mods = glfwMods(ev.mod);
const ScopedContext sc(this, mods);