summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAda <60364512+GreatArgorath@users.noreply.github.com>2022-05-21 18:21:14 +0100
committerGitHub <noreply@github.com>2022-05-21 13:21:14 -0400
commit2192ae0a252ae158f7a7fb5e8739374bbbda4ea4 (patch)
tree0c27de32f02b670cba9bb040b657cb6cab5d180f
parent0b2c264a6093cd5af0390d8b475da20e393fa502 (diff)
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
-rw-r--r--libultraship/libultraship/SohImGuiImpl.cpp3
1 files changed, 3 insertions, 0 deletions
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;