Update dpf, drop custom macos scroll delta multiplier

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2024-07-14 12:24:12 +01:00
parent a5dfb18ae7
commit fab125fe81
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 3 additions and 6 deletions

View file

@ -1041,10 +1041,7 @@ protected:
if (inSelfTest) return false;
#endif
rack::math::Vec scrollDelta = rack::math::Vec(-ev.delta.getX(), ev.delta.getY());
#ifndef DISTRHO_OS_MAC
scrollDelta = scrollDelta.mult(50.0);
#endif
const rack::math::Vec scrollDelta = rack::math::Vec(-ev.delta.getX(), ev.delta.getY());
const int mods = glfwMods(ev.mod);
const ScopedContext sc(this, mods);