auto-determine ins type when adding
This commit is contained in:
parent
7d336d61f7
commit
d0a2a0f902
3 changed files with 14 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue