mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-16 20:38:16 +00:00
[client] imgui: darken background when rendering overlays
This replaces the alert that says whether the overlay is enabled or not. Also, we now always display the help menu in overlay mode.
This commit is contained in:
@@ -137,15 +137,9 @@ static void bind_toggleOverlay(int sc, void * opaque)
|
||||
{
|
||||
g_state.overlayInput ^= true;
|
||||
if (g_state.overlayInput)
|
||||
{
|
||||
g_state.io->ConfigFlags &= ~ImGuiConfigFlags_NoMouse;
|
||||
app_alert(LG_ALERT_INFO, "Overlay input enabled");
|
||||
}
|
||||
else
|
||||
{
|
||||
g_state.io->ConfigFlags |= ImGuiConfigFlags_NoMouse;
|
||||
app_alert(LG_ALERT_INFO, "Overlay input disabled");
|
||||
}
|
||||
}
|
||||
|
||||
void keybind_register(void)
|
||||
|
Reference in New Issue
Block a user