mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-13 11:38:49 -04:00
Add Advanced Settings option & Disable debug hotkeys if it's off
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user