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
+3 -1
View File
@@ -10,7 +10,9 @@
namespace dusk {
void ImGuiMenuTools::ShowCameraOverlay() {
if (!ImGuiConsole::CheckMenuViewToggle(ImGuiKey_F9, m_showCameraOverlay)) {
if (!getSettings().backend.enableAdvancedSettings ||
!ImGuiConsole::CheckMenuViewToggle(ImGuiKey_F9, m_showCameraOverlay))
{
return;
}