mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-13 03:29:16 -04:00
Merge pull request #703 from TwilitRealm/ui/advanced-settings
Advanced Settings
This commit is contained in:
@@ -267,7 +267,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