We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619f145 commit 31a9e49Copy full SHA for 31a9e49
1 file changed
Applications/Note/Note.cpp
@@ -185,7 +185,14 @@ void Note::Setup(const vector<string>& args) {
185
controlBarToggle.SetName("Control Bar");
186
controlBarToggle.SetColor(Color(0xFF8000));
187
controlBarToggle.SetValuePointer(&controlBar);
188
- controlBarToggle.OnPress([&]() -> void {controlBar.Save();});
+ controlBarToggle.OnPress([&]() -> void {
189
+ controlBar.Save();
190
+ if(controlBar == false)
191
+ {
192
+ runtimes[0].midiPipeline.Reset();
193
+ runtimes[1].midiPipeline.Reset();
194
+ }
195
+ });
196
actionMenu.AddUIComponent(controlBarToggle, Point(0, 7));
197
198
UIButton arpConfigBtn;
0 commit comments