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:
parent
593d7abd19
commit
25dca490ee
1 changed files with 1 additions and 1 deletions
|
@ -1041,7 +1041,7 @@ protected:
|
||||||
if (inSelfTest) return false;
|
if (inSelfTest) return false;
|
||||||
#endif
|
#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 int mods = glfwMods(ev.mod);
|
||||||
const ScopedContext sc(this, mods);
|
const ScopedContext sc(this, mods);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue