Merge pull request #1415 from tildearrow/ui-chanosc-rearrange
Move chanOsc "Center waveform" option to next line.
This commit is contained in:
commit
74bd071873
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue