Skip to content

Commit

Permalink
re-apply scroll multiplier for all OSes (#699)
Browse files Browse the repository at this point in the history
* re-apply scroll multiplier for all OSes

* multiply const directly

---------

Co-authored-by: dromer <alexander@puikheid.nl>
  • Loading branch information
dromer and dromer committed Sep 3, 2024
1 parent 593d7ab commit 25dca49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CardinalUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ class CardinalUI : public CardinalBaseUI,
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);
Expand Down

0 comments on commit 25dca49

Please sign in to comment.