why did i even
This commit is contained in:
parent
1333be8da7
commit
0f5af36e99
|
@ -622,7 +622,6 @@ void FurnaceGUI::drawFindReplace() {
|
||||||
}
|
}
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
||||||
bool updateNote1=false;
|
bool updateNote1=false;
|
||||||
bool showOct=i.note<128;
|
|
||||||
int note1=i.note%12;
|
int note1=i.note%12;
|
||||||
int oct1=i.note/12;
|
int oct1=i.note/12;
|
||||||
if (ImGui::BeginCombo("##NN1",tempID)) {
|
if (ImGui::BeginCombo("##NN1",tempID)) {
|
||||||
|
@ -647,7 +646,7 @@ void FurnaceGUI::drawFindReplace() {
|
||||||
ImGui::EndCombo();
|
ImGui::EndCombo();
|
||||||
}
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if (showOct) {
|
if (i.note<128) {
|
||||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
||||||
if (ImGui::InputScalar("##NNO1",ImGuiDataType_S32,&oct1)) {
|
if (ImGui::InputScalar("##NNO1",ImGuiDataType_S32,&oct1)) {
|
||||||
if (oct1<-5) oct1=-5;
|
if (oct1<-5) oct1=-5;
|
||||||
|
|
Loading…
Reference in a new issue