fix: Some interactive help regions not being highlighted

This commit is contained in:
WerWolv
2025-12-01 19:38:19 +01:00
parent f4753a5bd8
commit 413c6b5116
2 changed files with 2 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ namespace hex {
EventImGuiElementRendered::subscribe([](ImGuiID id, const std::array<float, 4> bb){
const auto boundingBox = ImRect(bb[0], bb[1], bb[2], bb[3]);
if (!ImGui::IsItemVisible())
if (!ImGui::IsRectVisible(boundingBox.Min, boundingBox.Max))
return;
{