From a4d5679219acc782e98b291e416ec2aa7c0b1450 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 23 Jul 2024 20:32:04 +0200 Subject: [PATCH] fix: Crash when opening hex editor popups --- plugins/builtin/source/content/views/view_hex_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/views/view_hex_editor.cpp b/plugins/builtin/source/content/views/view_hex_editor.cpp index a4f89752e..bdeb22e80 100644 --- a/plugins/builtin/source/content/views/view_hex_editor.cpp +++ b/plugins/builtin/source/content/views/view_hex_editor.cpp @@ -608,7 +608,7 @@ namespace hex::plugin::builtin { m_currentPopupHasHovered = false; } - m_currentPopupHover = ImGui::IsWindowHovered(ImGuiHoveredFlags_RectOnly | ImGuiHoveredFlags_RootAndChildWindows); + m_currentPopupHover = ImGui::IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_RootAndChildWindows); m_currentPopupDetached = !ImGui::GetCurrentWindow()->ViewportOwned; m_currentPopupHasHovered |= m_currentPopupHover;