Skip to content

Commit

Permalink
Disable ImGui cursor change visibility (#17)
Browse files Browse the repository at this point in the history
Fixes cursor on fullscreen based on HarbourMasters/Shipwright#1905
  • Loading branch information
dcvz committed Nov 13, 2022
1 parent 9462f8f commit 8a97bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/menu/ImGuiImpl.cpp
Expand Up @@ -352,7 +352,7 @@ void Init(WindowImpl window_impl) {
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);
Expand Down

0 comments on commit 8a97bf4

Please sign in to comment.