Merge pull request #703 from TwilitRealm/ui/advanced-settings

Advanced Settings
This commit is contained in:
TakaRikka
2026-05-07 13:55:13 -07:00
committed by GitHub
14 changed files with 55 additions and 12 deletions
+8
View File
@@ -14,6 +14,7 @@
#include "pane.hpp"
#include "prelaunch.hpp"
#include "ui.hpp"
#include "menu_bar.hpp"
#include <algorithm>
@@ -921,6 +922,13 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
.key = "Show Pipeline Compilation",
.helpText = "Show an overlay when shaders are being compiled for your hardware.",
});
config_bool_select(leftPane, rightPane, getSettings().backend.enableAdvancedSettings,
{
.key = "Enable Advanced Settings",
.helpText = "Show the advanced settings on the menu bar.<br/>Most users should have this disabled.",
.onChange = [](bool value) { get_document_stack()[0] = std::make_unique<MenuBar>(); },
});
});
}