Disable imgui cursor visibility control (#1905)

This commit is contained in:
Alto1772 2022-11-06 18:59:22 +08:00 committed by GitHub
parent 498769c990
commit 11497c393d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,7 +346,7 @@ namespace SohImGui {
ImGuiContext* ctx = ImGui::CreateContext(); ImGuiContext* ctx = ImGui::CreateContext();
ImGui::SetCurrentContext(ctx); ImGui::SetCurrentContext(ctx);
io = &ImGui::GetIO(); io = &ImGui::GetIO();
io->ConfigFlags |= ImGuiConfigFlags_DockingEnable; io->ConfigFlags |= ImGuiConfigFlags_DockingEnable | ImGuiConfigFlags_NoMouseCursorChange;
io->Fonts->AddFontDefault(); io->Fonts->AddFontDefault();
statsWindowOpen = CVar_GetS32("gStatsEnabled", 0); statsWindowOpen = CVar_GetS32("gStatsEnabled", 0);
CVar_RegisterS32("gRandomizeRupeeNames", 1); CVar_RegisterS32("gRandomizeRupeeNames", 1);