auto-determine ins type when adding

This commit is contained in:
tildearrow 2022-01-09 23:50:26 -05:00
parent 7d336d61f7
commit d0a2a0f902
3 changed files with 14 additions and 4 deletions

View file

@ -506,7 +506,7 @@ void FurnaceGUI::drawInsList() {
if (!insListOpen) return;
if (ImGui::Begin("Instruments",&insListOpen)) {
if (ImGui::Button(ICON_FA_PLUS "##InsAdd")) {
curIns=e->addInstrument();
curIns=e->addInstrument(cursor.xCoarse);
modified=true;
}
ImGui::SameLine();