From 6e1abe06014572e31b831505304f6ae8c0a283fd Mon Sep 17 00:00:00 2001 From: Ada <60364512+GreatArgorath@users.noreply.github.com> Date: Sun, 15 May 2022 23:35:24 +0100 Subject: [PATCH] Makes it longer and only show when menu bar isn't active --- libultraship/libultraship/SohImGuiImpl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libultraship/libultraship/SohImGuiImpl.cpp b/libultraship/libultraship/SohImGuiImpl.cpp index b8ebe6c35..949464c70 100644 --- a/libultraship/libultraship/SohImGuiImpl.cpp +++ b/libultraship/libultraship/SohImGuiImpl.cpp @@ -327,7 +327,9 @@ namespace SohImGui { io = &ImGui::GetIO(); io->ConfigFlags |= ImGuiConfigFlags_DockingEnable; io->Fonts->AddFontDefault(); - SohImGui::overlay->TextDrawNotification(12.0f, true, "Press F1 to access enhancements menu"); + if (CVar_GetS32("gOpenMenuBar", 0) != 1) { + SohImGui::overlay->TextDrawNotification(30.0f, true, "Press F1 to access enhancements menu"); + } if (UseViewports()) { io->ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;