Move chanOsc "Center waveform" option to next line.

This commit is contained in:
Electric Keet 2023-08-22 15:15:49 -07:00
parent 5d3aedbbc1
commit cae3fa43b2

View file

@ -128,7 +128,7 @@ void FurnaceGUI::drawChanOsc() {
bool centerSettingReset=false; bool centerSettingReset=false;
ImDrawList* dl=ImGui::GetWindowDrawList(); ImDrawList* dl=ImGui::GetWindowDrawList();
if (chanOscOptions) { if (chanOscOptions) {
if (ImGui::BeginTable("ChanOscSettings",3)) { if (ImGui::BeginTable("ChanOscSettings",2)) {
ImGui::TableNextRow(); ImGui::TableNextRow();
ImGui::TableNextColumn(); ImGui::TableNextColumn();
ImGui::AlignTextToFramePadding(); ImGui::AlignTextToFramePadding();
@ -149,11 +149,6 @@ void FurnaceGUI::drawChanOsc() {
if (chanOscWindowSize>50.0f) chanOscWindowSize=50.0f; if (chanOscWindowSize>50.0f) chanOscWindowSize=50.0f;
} }
ImGui::TableNextColumn();
if (ImGui::Checkbox("Center waveform",&chanOscWaveCorr)) {
centerSettingReset=true;
}
ImGui::TableNextColumn(); ImGui::TableNextColumn();
ImGui::AlignTextToFramePadding(); ImGui::AlignTextToFramePadding();
ImGui::Text("Automatic columns"); ImGui::Text("Automatic columns");
@ -168,6 +163,11 @@ void FurnaceGUI::drawChanOsc() {
} }
ImGui::EndCombo(); ImGui::EndCombo();
} }
ImGui::TableNextColumn();
if (ImGui::Checkbox("Center waveform",&chanOscWaveCorr)) {
centerSettingReset=true;
}
ImGui::EndTable(); ImGui::EndTable();
} }