Inst type combo box shows all the instruments

This commit is contained in:
BlastBrothers 2022-02-24 18:15:18 -05:00
parent 101e2c4383
commit 577c281a17

View file

@ -730,7 +730,7 @@ void FurnaceGUI::drawInsEdit() {
ImGui::InputText("Name",&ins->name);
if (ins->type<0 || ins->type>23) ins->type=DIV_INS_FM;
int insType=ins->type;
if (ImGui::Combo("Type",&insType,insTypes,24)) {
if (ImGui::Combo("Type",&insType,insTypes,24,24)) {
ins->type=(DivInstrumentType)insType;
}