Fix wrong X scroll delta

Closes #102

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-01-28 11:25:18 +00:00
parent abe6c8db6b
commit ddf616c94b
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

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