diff --git a/modules/gin b/modules/gin index 3531e1e..a3d0f39 160000 --- a/modules/gin +++ b/modules/gin @@ -1 +1 @@ -Subproject commit 3531e1e5789bd1df98a630e74295f3e37366bc6b +Subproject commit a3d0f396e6140f803d242192d2db43d5cb038b97 diff --git a/plugin/Source/Panels.h b/plugin/Source/Panels.h index 6addb4a..9ecba15 100644 --- a/plugin/Source/Panels.h +++ b/plugin/Source/Panels.h @@ -321,6 +321,7 @@ public: addControl (new gin::Knob (lfo.offset, true), 5, 1); auto l = new gin::LFOComponent(); + l->phaseCallback = [this] { return proc.modLFOs[idx].getCurrentPhase(); }; l->setParams (lfo.wave, lfo.sync, lfo.rate, lfo.beat, lfo.depth, lfo.offset, lfo.phase, lfo.enable); addControl (l, 2, 0, 4, 1); @@ -400,6 +401,7 @@ public: addControl (new gin::Knob (prs.length), 1, 1); auto g = new gin::StepLFOComponent (Cfg::numStepLFOSteps); + g->phaseCallback = [this] { return proc.modStepLFO.getCurrentPhase(); }; g->setParams (prs.beat, prs.length, prs.level, prs.enable); addControl (g, 0, 0, 4, 1);