fix: Interacting with popups that extend past the edge of the window

This commit is contained in:
WerWolv
2024-02-24 18:59:01 +01:00
parent 2f7b949bd1
commit 5182a61fcc

View File

@@ -237,6 +237,9 @@ namespace hex::plugin::builtin {
if (ctx == nullptr)
return;
if (ImGui::IsPopupOpen("", ImGuiPopupFlags_AnyPopup))
return;
static ImGuiWindow *lastFocusedWindow = nullptr;
if (focused) {