Remove scroll multiplication for macOS
This commit is contained in:
parent
bfa74de20f
commit
586b3ae320
1 changed files with 1 additions and 3 deletions
|
|
@ -647,9 +647,7 @@ protected:
|
||||||
bool onScroll(const ScrollEvent& ev) override
|
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
|
#ifndef DISTRHO_OS_MAC
|
||||||
scrollDelta = scrollDelta.mult(10.0);
|
|
||||||
#else
|
|
||||||
scrollDelta = scrollDelta.mult(50.0);
|
scrollDelta = scrollDelta.mult(50.0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue