Skip to content

Commit

Permalink
Hookup Clock removed from menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kockie69 committed Oct 3, 2021
1 parent 9074a2e commit 1d0412f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Sequencer4Module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,15 +235,15 @@ void Sequencer4Widget::appendContextMenu(Menu* theMenu) {
theMenu->addChild(item);
#endif
{
auto item = new SqMenuItem( []() { return false; }, [this](){
/* auto item = new SqMenuItem( []() { return false; }, [this](){
// float rawClockFalue = Comp::CLOCK_INPUT_PARAM
float rawClockValue = APP->engine->getParamValue(module, Comp::CLOCK_INPUT_PARAM);
SeqClock::ClockRate rate = SeqClock::ClockRate(int(std::round(rawClockValue)));
const int div = SeqClock::clockRate2Div(rate);
ClockFinder::go(this, div, Comp::CLOCK_INPUT, Comp::RUN_INPUT, Comp::RESET_INPUT, ClockFinder::SquinkyType::X4X);
});
item->text = "Hookup Clock";
theMenu->addChild(item);
theMenu->addChild(item);*/
}
{
Sequencer4Module* sModule = dynamic_cast<Sequencer4Module*>(module);
Expand Down
4 changes: 2 additions & 2 deletions src/SequencerModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ struct SequencerWidget : ModuleWidget
::rack::ui::MenuLabel *spacerLabel = new ::rack::ui::MenuLabel();
theMenu->addChild(spacerLabel);

::rack::MenuItem* item = new SqMenuItem( []() { return false; }, [this](){
/* ::rack::MenuItem* item = new SqMenuItem( []() { return false; }, [this](){
float rawClockValue = APP->engine->getParamValue(module, Comp::CLOCK_INPUT_PARAM);
SeqClock::ClockRate rate = SeqClock::ClockRate(int(std::round(rawClockValue)));
const int div = SeqClock::clockRate2Div(rate);
ClockFinder::go(this, div, Comp::CLOCK_INPUT, Comp::RUN_INPUT, Comp::RESET_INPUT, ClockFinder::SquinkyType::SEQPP);
});
item->text = "Hookup Clock";
theMenu->addChild(item);
theMenu->addChild(item); */
#ifdef _SEQ4
::rack::MenuItem* remoteEdit = new SqMenuItem_BooleanParam2(
module,
Expand Down

0 comments on commit 1d0412f

Please sign in to comment.