mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-06 23:51:21 +00:00
ah shit
ah fuck
This commit is contained in:
parent
44077332b5
commit
617bdc0f3b
1 changed files with 2 additions and 2 deletions
|
@ -916,7 +916,7 @@ void FurnaceGUI::drawFindReplace() {
|
|||
int note1=queryReplaceNote%12;
|
||||
int oct1=queryReplaceNote/12;
|
||||
ImGui::SetNextItemWidth(ImGui::GetContentRegionAvail().x/2);
|
||||
if (ImGui::BeginCombo("##NN1",tempID)) {
|
||||
if (ImGui::BeginCombo("##NRValueC",tempID)) {
|
||||
for (int i=0; i<12; i++) {
|
||||
snprintf(tempID,1024,"%c%c",noteNames[i+72][0],(noteNames[i+72][1]=='-')?' ':noteNames[i+72][1]);
|
||||
if (ImGui::Selectable(tempID,note1==i)) {
|
||||
|
@ -938,7 +938,7 @@ void FurnaceGUI::drawFindReplace() {
|
|||
ImGui::SameLine();
|
||||
if (queryReplaceNote<128) {
|
||||
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>9) oct1=9;
|
||||
updateNote=true;
|
||||
|
|
Loading…
Reference in a new issue