From 11497c393d333512272fe066862082aff1110752 Mon Sep 17 00:00:00 2001 From: Alto1772 <56553686+Alto1772@users.noreply.github.com> Date: Sun, 6 Nov 2022 18:59:22 +0800 Subject: [PATCH] Disable imgui cursor visibility control (#1905) --- libultraship/libultraship/ImGuiImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libultraship/libultraship/ImGuiImpl.cpp b/libultraship/libultraship/ImGuiImpl.cpp index 98678cab1..5f6cf7ba8 100644 --- a/libultraship/libultraship/ImGuiImpl.cpp +++ b/libultraship/libultraship/ImGuiImpl.cpp @@ -346,7 +346,7 @@ namespace SohImGui { ImGuiContext* ctx = ImGui::CreateContext(); ImGui::SetCurrentContext(ctx); io = &ImGui::GetIO(); - io->ConfigFlags |= ImGuiConfigFlags_DockingEnable; + io->ConfigFlags |= ImGuiConfigFlags_DockingEnable | ImGuiConfigFlags_NoMouseCursorChange; io->Fonts->AddFontDefault(); statsWindowOpen = CVar_GetS32("gStatsEnabled", 0); CVar_RegisterS32("gRandomizeRupeeNames", 1);