fix: Pressing buttons while window is unfocused not working
This commit is contained in:
parent
ce9bd796d6
commit
623079ca40
@ -245,6 +245,8 @@ namespace hex::plugin::builtin {
|
||||
|
||||
if (ImGui::IsPopupOpen("", ImGuiPopupFlags_AnyPopup))
|
||||
return;
|
||||
if (ImGui::IsAnyItemHovered())
|
||||
return;
|
||||
|
||||
static ImGuiWindow *lastFocusedWindow = nullptr;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user