Invert horizontal scroll
This commit is contained in:
parent
a7dc4bc21c
commit
b29c5ee81d
2 changed files with 2 additions and 2 deletions
|
|
@ -560,7 +560,7 @@ protected:
|
|||
|
||||
bool onScroll(const ScrollEvent& ev) override
|
||||
{
|
||||
rack::math::Vec scrollDelta = rack::math::Vec(ev.delta.getX(), ev.delta.getY());
|
||||
rack::math::Vec scrollDelta = rack::math::Vec(-ev.delta.getX(), ev.delta.getY());
|
||||
#ifdef DISTRHO_OS_MAC
|
||||
scrollDelta = scrollDelta.mult(10.0);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue