Fix wrong X scroll delta
Closes #102 Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
abe6c8db6b
commit
ddf616c94b
1 changed files with 1 additions and 1 deletions
|
@ -603,7 +603,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