mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-01 18:42:40 +00:00
s p a c e
and another inline if i suppose
This commit is contained in:
parent
daa7800e3c
commit
277a695f5e
1 changed files with 2 additions and 4 deletions
|
@ -323,7 +323,7 @@ void FurnaceGUI::drawSettings() {
|
|||
}
|
||||
if (ImGui::Begin("Settings",&settingsOpen,ImGuiWindowFlags_NoDocking|globalWinFlags)) {
|
||||
if (!settingsOpen) {
|
||||
if(settingsChanged) {
|
||||
if (settingsChanged) {
|
||||
settingsOpen=true;
|
||||
showWarning("Do you want to save your settings?",GUI_WARN_CLOSE_SETTINGS);
|
||||
} else {
|
||||
|
@ -1039,9 +1039,7 @@ void FurnaceGUI::drawSettings() {
|
|||
ImGui::AlignTextToFramePadding();
|
||||
ImGui::Text("Quality");
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Combo("##Quality",&settings.audioQuality,audioQualities,2)) {
|
||||
settingsChanged=true;
|
||||
}
|
||||
if (ImGui::Combo("##Quality",&settings.audioQuality,audioQualities,2)) settingsChanged=true;
|
||||
|
||||
bool clampSamplesB=settings.clampSamples;
|
||||
if (ImGui::Checkbox("Software clipping",&clampSamplesB)) {
|
||||
|
|
Loading…
Reference in a new issue