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
1 changed files with 6 additions and 6 deletions

View File

@ -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();
}