ah shit
ah fuck
This commit is contained in:
parent
44077332b5
commit
617bdc0f3b
|
|
@ -916,7 +916,7 @@ void FurnaceGUI::drawFindReplace() {
|
||||||
int note1=queryReplaceNote%12;
|
int note1=queryReplaceNote%12;
|
||||||
int oct1=queryReplaceNote/12;
|
int oct1=queryReplaceNote/12;
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
||||||
if (ImGui::BeginCombo("##NN1",tempID)) {
|
if (ImGui::BeginCombo("##NRValueC",tempID)) {
|
||||||
for (int i=0; i<12; i++) {
|
for (int i=0; i<12; i++) {
|
||||||
snprintf(tempID,1024,"%c%c",noteNames[i+72][0],(noteNames[i+72][1]=='-')?' ':noteNames[i+72][1]);
|
snprintf(tempID,1024,"%c%c",noteNames[i+72][0],(noteNames[i+72][1]=='-')?' ':noteNames[i+72][1]);
|
||||||
if (ImGui::Selectable(tempID,note1==i)) {
|
if (ImGui::Selectable(tempID,note1==i)) {
|
||||||
|
|
@ -938,7 +938,7 @@ void FurnaceGUI::drawFindReplace() {
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (queryReplaceNote<128) {
|
if (queryReplaceNote<128) {
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
||||||
if (ImGui::InputScalar("##NNO1",ImGuiDataType_S32,&oct1)) {
|
if (ImGui::InputScalar("##NRValueCO",ImGuiDataType_S32,&oct1)) {
|
||||||
if (oct1<-5) oct1=-5;
|
if (oct1<-5) oct1=-5;
|
||||||
if (oct1>9) oct1=9;
|
if (oct1>9) oct1=9;
|
||||||
updateNote=true;
|
updateNote=true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue