fix: Pressing buttons while window is unfocused not working

This commit is contained in:
WerWolv
2024-02-28 23:52:07 +01:00
parent 9ce3a9e612
commit d1de10c606

View File

@@ -245,6 +245,8 @@ namespace hex::plugin::builtin {
if (ImGui::IsPopupOpen("", ImGuiPopupFlags_AnyPopup))
return;
if (ImGui::IsAnyItemHovered())
return;
static ImGuiWindow *lastFocusedWindow = nullptr;