fix options menu focus
Some checks failed
Linux arm64 / Build (push) Has been cancelled

This commit is contained in:
2024-04-12 10:51:27 +02:00
parent a90dd2d11b
commit 41b54363a6

View File

@@ -212,7 +212,7 @@ void OptionsMenu::Render() {
if (ImGui::Button("Retour", buttonSize) || ImGui::IsKeyPressed(ImGuiKey_Escape)) {
Disable();
if (m_Client->IsConnected()) {
m_InputManager.GrabMouse(false);
m_InputManager.GrabMouse(true);
} else {
m_Parent->Enable();
}