Browse Source

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>
tags/24.09
dreamer GitHub 1 year ago
parent
commit
25dca490ee
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/CardinalUI.cpp

+ 1
- 1
src/CardinalUI.cpp View File

@@ -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…
Cancel
Save