From 2192ae0a252ae158f7a7fb5e8739374bbbda4ea4 Mon Sep 17 00:00:00 2001 From: Ada <60364512+GreatArgorath@users.noreply.github.com> Date: Sat, 21 May 2022 18:21:14 +0100 Subject: [PATCH] Adds notification telling people how to activate menubar (#351) * Adds notification telling people how to activate menubar * Makes it longer and only show when menu bar isn't active --- libultraship/libultraship/SohImGuiImpl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libultraship/libultraship/SohImGuiImpl.cpp b/libultraship/libultraship/SohImGuiImpl.cpp index f80ad4e0a..dd345124b 100644 --- a/libultraship/libultraship/SohImGuiImpl.cpp +++ b/libultraship/libultraship/SohImGuiImpl.cpp @@ -371,6 +371,9 @@ namespace SohImGui { io = &ImGui::GetIO(); io->ConfigFlags |= ImGuiConfigFlags_DockingEnable; io->Fonts->AddFontDefault(); + if (CVar_GetS32("gOpenMenuBar", 0) != 1) { + SohImGui::overlay->TextDrawNotification(30.0f, true, "Press F1 to access enhancements menu"); + } if (UseViewports()) { io->ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;