Update dpf, drop custom macos scroll delta multiplier
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a5dfb18ae7
commit
fab125fe81
3 changed files with 3 additions and 6 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -160,7 +160,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [universal-10.15]
|
target: [universal-10.15]
|
||||||
runs-on: macos-11
|
runs-on: macos-12
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|
2
dpf
2
dpf
|
@ -1 +1 @@
|
||||||
Subproject commit 7a338bd8b4da6e5a2d0fbc28525b2763b262784b
|
Subproject commit 470c5b7a77091bbea2154cd1d96d3cb1be737aa3
|
|
@ -1041,10 +1041,7 @@ protected:
|
||||||
if (inSelfTest) return false;
|
if (inSelfTest) return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rack::math::Vec scrollDelta = rack::math::Vec(-ev.delta.getX(), ev.delta.getY());
|
const rack::math::Vec scrollDelta = rack::math::Vec(-ev.delta.getX(), ev.delta.getY());
|
||||||
#ifndef DISTRHO_OS_MAC
|
|
||||||
scrollDelta = scrollDelta.mult(50.0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const int mods = glfwMods(ev.mod);
|
const int mods = glfwMods(ev.mod);
|
||||||
const ScopedContext sc(this, mods);
|
const ScopedContext sc(this, mods);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue