GUI: fix relative/fixed toggle label being wrong

This commit is contained in:
tildearrow 2022-04-18 04:18:33 -05:00
parent afa59a27ff
commit a4ff0c3876

View file

@ -1082,7 +1082,7 @@ void FurnaceGUI::drawGBEnv(unsigned char vol, unsigned char len, unsigned char s
} \ } \
if (macroMode) { \ if (macroMode) { \
bool modeVal=macro.mode; \ bool modeVal=macro.mode; \
if (ImGui::Checkbox("Relative##IMacroMode_" macroName,&modeVal)) { \ if (ImGui::Checkbox("Fixed##IMacroMode_" macroName,&modeVal)) { \
macro.mode=modeVal; \ macro.mode=modeVal; \
} \ } \
} \ } \
@ -1176,7 +1176,7 @@ void FurnaceGUI::drawGBEnv(unsigned char vol, unsigned char len, unsigned char s
} \ } \
if (macroMode) { \ if (macroMode) { \
bool modeVal=macro.mode; \ bool modeVal=macro.mode; \
if (ImGui::Checkbox("Relative##IOPMacroMode_" macroName,&modeVal)) { \ if (ImGui::Checkbox("Fixed##IOPMacroMode_" macroName,&modeVal)) { \
macro.mode=modeVal; \ macro.mode=modeVal; \
} \ } \
} \ } \