GUI: fix note trigger chan osc mode

when channel not visible in pattern
This commit is contained in:
tildearrow 2023-08-01 20:22:44 -05:00
parent 85d90b78ea
commit 411e138440
2 changed files with 5 additions and 2 deletions

View file

@ -4521,6 +4521,11 @@ bool FurnaceGUI::loop() {
MEASURE(effectList,drawEffectList());
}
for (int i=0; i<e->getTotalChannelCount(); i++) {
keyHit1[i]-=0.2f;
if (keyHit1[i]<0.0f) keyHit1[i]=0.0f;
}
activateTutorial(GUI_TUTORIAL_OVERVIEW);
if (inspectorOpen) ImGui::ShowMetricsWindow(&inspectorOpen);

View file

@ -829,8 +829,6 @@ void FurnaceGUI::drawPattern() {
ImGui::GetColorU32(chanHeadBase)
);
}
keyHit1[i]-=0.2f;
if (keyHit1[i]<0.0f) keyHit1[i]=0.0f;
}
}