Add Advanced Settings option & Disable debug hotkeys if it's off

This commit is contained in:
MelonSpeedruns
2026-05-07 12:01:32 -04:00
parent b11f3add06
commit 667cf70fa0
11 changed files with 42 additions and 11 deletions
+5 -1
View File
@@ -265,7 +265,11 @@ namespace dusk {
}
if (ImGui::GetIO().KeyShift && ImGui::IsKeyPressed(ImGuiKey_F1)) {
m_isHidden = !m_isHidden;
if (getSettings().backend.enableAdvancedSettings) {
m_isHidden = !m_isHidden;
} else {
m_isHidden = true;
}
}
bool showMenu = !m_isHidden;