mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 21:05:56 -05:00
fix: Crash when opening hex editor popups
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user