Makes it longer and only show when menu bar isn't active

This commit is contained in:
Ada 2022-05-15 23:35:24 +01:00
commit 6e1abe0601

View file

@ -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;