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;
|
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,7 @@ void FurnaceGUI::drawChanOsc() {
|
||||||
if (chanOscWindowSize>50.0f) chanOscWindowSize=50.0f;
|
if (chanOscWindowSize>50.0f) chanOscWindowSize=50.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::TableNextColumn();
|
ImGui::TableNextRow();
|
||||||
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 +164,11 @@ void FurnaceGUI::drawChanOsc() {
|
||||||
}
|
}
|
||||||
ImGui::EndCombo();
|
ImGui::EndCombo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImGui::TableNextColumn();
|
||||||
|
if (ImGui::Checkbox("Center waveform",&chanOscWaveCorr)) {
|
||||||
|
centerSettingReset=true;
|
||||||
|
}
|
||||||
ImGui::EndTable();
|
ImGui::EndTable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue