Skip to content

Commit

Permalink
Remove scroll multiplication for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
foxacid7cd authored and falkTX committed Jun 2, 2022
1 parent bfa74de commit 586b3ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/CardinalUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,7 @@ class CardinalUI : public CardinalBaseUI,
bool onScroll(const ScrollEvent& ev) override
{
rack::math::Vec scrollDelta = rack::math::Vec(ev.delta.getX(), ev.delta.getY());
#ifdef DISTRHO_OS_MAC
scrollDelta = scrollDelta.mult(10.0);
#else
#ifndef DISTRHO_OS_MAC
scrollDelta = scrollDelta.mult(50.0);
#endif

Expand Down

0 comments on commit 586b3ae

Please sign in to comment.