1
0
mirror of synced 2024-11-24 07:40:17 +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 b652565b57
commit bb0a8047ea

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;