GUI: add "create wave from selection" option

in sample editor
This commit is contained in:
tildearrow 2022-08-31 03:34:13 -05:00
parent 16eba9ec96
commit a33e6e3989
4 changed files with 31 additions and 0 deletions

View file

@ -1293,6 +1293,9 @@ void FurnaceGUI::drawSampleEdit() {
if (ImGui::MenuItem("set loop to selection",BIND_FOR(GUI_ACTION_SAMPLE_SET_LOOP))) {
doAction(GUI_ACTION_SAMPLE_SET_LOOP);
}
if (ImGui::MenuItem("create wavetable from selection",BIND_FOR(GUI_ACTION_SAMPLE_CREATE_WAVE))) {
doAction(GUI_ACTION_SAMPLE_CREATE_WAVE);
}
ImGui::EndPopup();
}