commit 3df24a46f26120e980d38c38efe4be6374fdcbce parent 72d36b7bea3dc432ab83b3dca137cf9f6e7cfc23 Author: Adam M <aemalone@gmail.com> Date: Mon, 18 Oct 2021 13:21:43 -0500 more paramQuantity randomization Diffstat:
M | src/Computerscare.hpp | | | 6 | ++---- |
M | src/ComputerscareDebug.cpp | | | 7 | +++++-- |
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/Computerscare.hpp b/src/Computerscare.hpp @@ -405,12 +405,10 @@ struct ScrambleSnapKnobNoRandom : RoundKnob { } }; -struct SmallSnapKnob : RoundBlackSnapKnob { - //bool visible = true; - - //CircularShadow *shadow; +struct SmallSnapKnob : RoundKnob { SmallSnapKnob() { + snap = true; setSvg(APP->window->loadSvg(asset::plugin(pluginInstance, "res/computerscare-small-knob-effed.svg"))); shadow->box.size = math::Vec(0, 0); shadow->opacity = 0.f; diff --git a/src/ComputerscareDebug.cpp b/src/ComputerscareDebug.cpp @@ -95,8 +95,11 @@ struct ComputerscareDebug : Module { stepCounter = 0; - //params[MANUAL_TRIGGER].randomizable=false; - //params[MANUAL_CLEAR_TRIGGER].randomizable=false; + getParamQuantity(SWITCH_VIEW)->randomizeEnabled = false; + getParamQuantity(WHICH_CLOCK)->randomizeEnabled = false; + getParamQuantity(CLOCK_CHANNEL_FOCUS)->randomizeEnabled = false; + getParamQuantity(INPUT_CHANNEL_FOCUS)->randomizeEnabled = false; + } void process(const ProcessArgs &args) override;