Invert horizontal scroll

This commit is contained in:
falkTX 2021-12-15 00:49:57 +00:00
parent a7dc4bc21c
commit b29c5ee81d
2 changed files with 2 additions and 2 deletions

View file

@ -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