From 9d5cdaeb33877ec3b5b30538c6a5b15a8a170727 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Tue, 2 Dec 2025 23:03:02 +0100 Subject: [PATCH] fix: Tutorial highlights not always being visible still --- lib/libimhex/source/api/tutorial_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/source/api/tutorial_manager.cpp b/lib/libimhex/source/api/tutorial_manager.cpp index f51861dc8..4b5ef1a3f 100644 --- a/lib/libimhex/source/api/tutorial_manager.cpp +++ b/lib/libimhex/source/api/tutorial_manager.cpp @@ -206,7 +206,7 @@ namespace hex { void TutorialManager::drawHighlights() { if (s_helpHoverActive) { - const auto &drawList = ImGui::GetForegroundDrawList(); + const auto &drawList = ImGui::GetForegroundDrawList(ImGui::GetMainViewport()); drawList->AddText(ImGui::GetMousePos() + scaled({ 10, -5, }), ImGui::GetColorU32(ImGuiCol_Text), "?"); for (const auto &[id, boundingBox] : *s_interactiveHelpDisplays) {