mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 01:12:19 -05:00
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:
parent
0b2c264a60
commit
2192ae0a25
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user