From 4f85d732b5f5fcb984b05fcaf6fb0a35f64ab620 Mon Sep 17 00:00:00 2001 From: ermaccer <40604575+ermaccer@users.noreply.github.com> Date: Sat, 19 Mar 2022 13:28:29 +0100 Subject: [PATCH] focus fix --- MK11Hook/code/mk11menu.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/MK11Hook/code/mk11menu.cpp b/MK11Hook/code/mk11menu.cpp index 4ae00a6..98f6f6b 100644 --- a/MK11Hook/code/mk11menu.cpp +++ b/MK11Hook/code/mk11menu.cpp @@ -830,7 +830,7 @@ void MK11Menu::Draw() DrawScriptTab(); ImGui::EndTabItem(); } - if (ImGui::BeginTabItem("Krypt Modifier")) + if (ImGui::BeginTabItem("Krypt")) { DrawKryptTab(); ImGui::EndTabItem(); @@ -859,14 +859,9 @@ void MK11Menu::Draw() void MK11Menu::Process() { - if (m_bIsFocused) - { - UpdateControls(); - if (m_bFreeCamMouseControl) - UpdateMouse(); - } - - + UpdateControls(); + if (m_bFreeCamMouseControl) + UpdateMouse(); } void MK11Menu::UpdateControls()