GUI: why is the input latch lowercase
This commit is contained in:
parent
c2d91a06d3
commit
e19cd39e96
|
@ -2760,7 +2760,7 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
|||
} else if (latchIns==-1) {
|
||||
strcpy(id,"..##LatchIns");
|
||||
} else {
|
||||
snprintf(id,63,"%.2x##LatchIns",latchIns&0xff);
|
||||
snprintf(id,63,"%.2X##LatchIns",latchIns&0xff);
|
||||
}
|
||||
if (ImGui::Selectable(id,latchTarget==1,ImGuiSelectableFlags_DontClosePopups)) {
|
||||
latchTarget=1;
|
||||
|
@ -2780,7 +2780,7 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
|||
if (latchVol==-1) {
|
||||
strcpy(id,"..##LatchVol");
|
||||
} else {
|
||||
snprintf(id,63,"%.2x##LatchVol",latchVol&0xff);
|
||||
snprintf(id,63,"%.2X##LatchVol",latchVol&0xff);
|
||||
}
|
||||
if (ImGui::Selectable(id,latchTarget==2,ImGuiSelectableFlags_DontClosePopups)) {
|
||||
latchTarget=2;
|
||||
|
@ -2796,7 +2796,7 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
|||
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[GUI_COLOR_PATTERN_INACTIVE]);
|
||||
} else {
|
||||
const unsigned char data=latchEffect;
|
||||
snprintf(id,63,"%.2x##LatchFX",data);
|
||||
snprintf(id,63,"%.2X##LatchFX",data);
|
||||
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[fxColors[data]]);
|
||||
}
|
||||
|
||||
|
@ -2811,7 +2811,7 @@ void FurnaceGUI::editOptions(bool topMenu) {
|
|||
if (latchEffectVal==-1) {
|
||||
strcpy(id,"..##LatchFXV");
|
||||
} else {
|
||||
snprintf(id,63,"%.2x##LatchFXV",latchEffectVal&0xff);
|
||||
snprintf(id,63,"%.2X##LatchFXV",latchEffectVal&0xff);
|
||||
}
|
||||
if (ImGui::Selectable(id,latchTarget==4,ImGuiSelectableFlags_DontClosePopups)) {
|
||||
latchTarget=4;
|
||||
|
|
Loading…
Reference in a new issue