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) {