GUI: add "set loop" to sample editor

This commit is contained in:
tildearrow 2022-05-28 18:37:49 -05:00
parent f8796f8ec9
commit 5de31f510c
6 changed files with 23 additions and 2 deletions

View file

@ -1247,6 +1247,10 @@ void FurnaceGUI::drawSampleEdit() {
if (ImGui::MenuItem("select all",BIND_FOR(GUI_ACTION_SAMPLE_SELECT_ALL))) {
doAction(GUI_ACTION_SAMPLE_SELECT_ALL);
}
ImGui::Separator();
if (ImGui::MenuItem("set loop to selection",BIND_FOR(GUI_ACTION_SAMPLE_SET_LOOP))) {
doAction(GUI_ACTION_SAMPLE_SET_LOOP);
}
ImGui::EndPopup();
}