mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-27 15:03:01 +00:00
Fix issue in instrument editor
This commit is contained in:
parent
13bdf2d86d
commit
eb05310d37
1 changed files with 2 additions and 2 deletions
|
@ -992,7 +992,7 @@ void FurnaceGUI::drawFMEnv(unsigned char tl, unsigned char ar, unsigned char dr,
|
|||
} else { \
|
||||
modeName=displayModeName[macro.mode]; \
|
||||
} \
|
||||
if (ImGui::BeginCombo("Macro Mode",modeName.c_str())) { \
|
||||
if (ImGui::BeginCombo("Macro Mode##IMacroMode_" macroName,modeName.c_str())) { \
|
||||
String id; \
|
||||
for (unsigned int i=0; i<=macroModeMax; i++) { \
|
||||
id=fmt::sprintf("%d: %s",i,displayModeName[i]); \
|
||||
|
@ -1096,7 +1096,7 @@ void FurnaceGUI::drawFMEnv(unsigned char tl, unsigned char ar, unsigned char dr,
|
|||
} else { \
|
||||
modeName=displayModeName[macro.mode]; \
|
||||
} \
|
||||
if (ImGui::BeginCombo("Macro Mode",modeName.c_str())) { \
|
||||
if (ImGui::BeginCombo("Macro Mode##IOPMacroMode_" macroName,modeName.c_str())) { \
|
||||
String id; \
|
||||
for (unsigned int i=0; i<=macroModeMax; i++) { \
|
||||
id=fmt::sprintf("%d: %s",i,displayModeName[i]); \
|
||||
|
|
Loading…
Reference in a new issue