fix: Rendering issues with Hex Editor Minimap

This commit is contained in:
WerWolv
2024-01-29 23:28:53 +01:00
parent 76e304c34e
commit 18b717594f
2 changed files with 7 additions and 9 deletions

View File

@@ -500,7 +500,7 @@ namespace hex::plugin::builtin {
}
// Right click menu
if (ImGui::IsMouseReleased(ImGuiMouseButton_Right) && ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows))
if (ImGui::IsMouseReleased(ImGuiMouseButton_Right) && ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows) && !ImGui::IsAnyItemHovered())
RequestOpenPopup::post("hex.builtin.menu.edit");
}