From 413c6b5116db04b79447a495fc7108f7cc46d000 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 1 Dec 2025 19:38:19 +0100 Subject: [PATCH] fix: Some interactive help regions not being highlighted --- lib/libimhex/source/api/tutorial_manager.cpp | 2 +- plugins/builtin/romfs/lang/en_US.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/libimhex/source/api/tutorial_manager.cpp b/lib/libimhex/source/api/tutorial_manager.cpp index 083875b6f..f51861dc8 100644 --- a/lib/libimhex/source/api/tutorial_manager.cpp +++ b/lib/libimhex/source/api/tutorial_manager.cpp @@ -97,7 +97,7 @@ namespace hex { EventImGuiElementRendered::subscribe([](ImGuiID id, const std::array bb){ const auto boundingBox = ImRect(bb[0], bb[1], bb[2], bb[3]); - if (!ImGui::IsItemVisible()) + if (!ImGui::IsRectVisible(boundingBox.Min, boundingBox.Max)) return; { diff --git a/plugins/builtin/romfs/lang/en_US.json b/plugins/builtin/romfs/lang/en_US.json index 1453d0124..a74472e9f 100644 --- a/plugins/builtin/romfs/lang/en_US.json +++ b/plugins/builtin/romfs/lang/en_US.json @@ -568,6 +568,7 @@ "hex.builtin.task.evaluating_nodes": "Evaluating nodes...", "hex.builtin.title_bar_button.debug_build": "Debug build\n\nSHIFT + Click to open Debug Menu", "hex.builtin.title_bar_button.feedback": "Leave Feedback", + "hex.builtin.title_bar_button.interactive_help": "Interactive Help", "hex.builtin.tools.ascii_table": "ASCII table", "hex.builtin.tools.ascii_table.octal": "Show octal", "hex.builtin.tools.base_converter": "Base converter",