From cae3fa43b237631b22d3897d63894ef368db679b Mon Sep 17 00:00:00 2001 From: Electric Keet Date: Tue, 22 Aug 2023 15:15:49 -0700 Subject: [PATCH 1/2] Move chanOsc "Center waveform" option to next line. --- src/gui/chanOsc.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gui/chanOsc.cpp b/src/gui/chanOsc.cpp index aa7c91b5..623eb39f 100644 --- a/src/gui/chanOsc.cpp +++ b/src/gui/chanOsc.cpp @@ -128,7 +128,7 @@ void FurnaceGUI::drawChanOsc() { bool centerSettingReset=false; ImDrawList* dl=ImGui::GetWindowDrawList(); if (chanOscOptions) { - if (ImGui::BeginTable("ChanOscSettings",3)) { + if (ImGui::BeginTable("ChanOscSettings",2)) { ImGui::TableNextRow(); ImGui::TableNextColumn(); ImGui::AlignTextToFramePadding(); @@ -149,11 +149,6 @@ void FurnaceGUI::drawChanOsc() { if (chanOscWindowSize>50.0f) chanOscWindowSize=50.0f; } - ImGui::TableNextColumn(); - if (ImGui::Checkbox("Center waveform",&chanOscWaveCorr)) { - centerSettingReset=true; - } - ImGui::TableNextColumn(); ImGui::AlignTextToFramePadding(); ImGui::Text("Automatic columns"); @@ -168,6 +163,11 @@ void FurnaceGUI::drawChanOsc() { } ImGui::EndCombo(); } + + ImGui::TableNextColumn(); + if (ImGui::Checkbox("Center waveform",&chanOscWaveCorr)) { + centerSettingReset=true; + } ImGui::EndTable(); } From ed05c16d9576f3d11b997a97814c03daa9e5867a Mon Sep 17 00:00:00 2001 From: Electric Keet Date: Mon, 28 Aug 2023 10:39:40 -0700 Subject: [PATCH 2/2] Adding the missing TableNextRow. --- src/gui/chanOsc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/chanOsc.cpp b/src/gui/chanOsc.cpp index 623eb39f..a92a0a7d 100644 --- a/src/gui/chanOsc.cpp +++ b/src/gui/chanOsc.cpp @@ -149,6 +149,7 @@ void FurnaceGUI::drawChanOsc() { if (chanOscWindowSize>50.0f) chanOscWindowSize=50.0f; } + ImGui::TableNextRow(); ImGui::TableNextColumn(); ImGui::AlignTextToFramePadding(); ImGui::Text("Automatic columns");