Merge pull request #1415 from tildearrow/ui-chanosc-rearrange

Move chanOsc "Center waveform" option to next line.
This commit is contained in:
tildearrow 2023-08-28 14:42:36 -05:00 committed by GitHub
commit 74bd071873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 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,7 @@ void FurnaceGUI::drawChanOsc() {
if (chanOscWindowSize>50.0f) chanOscWindowSize=50.0f;
}
ImGui::TableNextColumn();
if (ImGui::Checkbox("Center waveform",&chanOscWaveCorr)) {
centerSettingReset=true;
}
ImGui::TableNextRow();
ImGui::TableNextColumn();
ImGui::AlignTextToFramePadding();
ImGui::Text("Automatic columns");
@ -168,6 +164,11 @@ void FurnaceGUI::drawChanOsc() {
}
ImGui::EndCombo();
}
ImGui::TableNextColumn();
if (ImGui::Checkbox("Center waveform",&chanOscWaveCorr)) {
centerSettingReset=true;
}
ImGui::EndTable();
}