fix: Tutorial highlights not always being visible still

This commit is contained in:
WerWolv 2025-12-02 23:03:02 +01:00
parent d4df465633
commit 9d5cdaeb33
1 changed files with 1 additions and 1 deletions

View File

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