1
0
mirror of synced 2025-02-13 09:02:37 +01:00

fix: Hex editor popups getting transparent when hovering over combo box popup

This commit is contained in:
WerWolv 2024-07-05 19:26:08 +02:00
parent 5d53417683
commit 1c2bb0c049

View File

@ -608,7 +608,7 @@ namespace hex::plugin::builtin {
m_currentPopupHasHovered = false;
}
m_currentPopupHover = ImGui::IsWindowHovered(ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_RootAndChildWindows);
m_currentPopupHover = ImGui::IsWindowHovered(ImGuiHoveredFlags_RectOnly | ImGuiHoveredFlags_RootAndChildWindows);
m_currentPopupDetached = !ImGui::GetCurrentWindow()->ViewportOwned;
m_currentPopupHasHovered |= m_currentPopupHover;