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
This commit is contained in:
@@ -371,6 +371,9 @@ namespace SohImGui {
|
|||||||
io = &ImGui::GetIO();
|
io = &ImGui::GetIO();
|
||||||
io->ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
io->ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||||
io->Fonts->AddFontDefault();
|
io->Fonts->AddFontDefault();
|
||||||
|
if (CVar_GetS32("gOpenMenuBar", 0) != 1) {
|
||||||
|
SohImGui::overlay->TextDrawNotification(30.0f, true, "Press F1 to access enhancements menu");
|
||||||
|
}
|
||||||
|
|
||||||
if (UseViewports()) {
|
if (UseViewports()) {
|
||||||
io->ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
|
io->ConfigFlags |= ImGuiConfigFlags_ViewportsEnable;
|
||||||
|
|||||||
Reference in New Issue
Block a user