We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87262dd commit 7b365faCopy full SHA for 7b365fa
imgui.cpp
@@ -12970,6 +12970,10 @@ void ImGui::SetNavCursorVisibleAfterMove()
12970
ImGuiContext& g = *GImGui;
12971
if (g.NavWindow && (g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs))
12972
g.NavCursorVisible = false;
12973
+ else if (g.NavInputSource == ImGuiInputSource_Keyboard && (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableKeyboard) == 0)
12974
+ g.NavCursorVisible = false;
12975
+ else if (g.NavInputSource == ImGuiInputSource_Gamepad && (g.IO.ConfigFlags & ImGuiConfigFlags_NavEnableGamepad) == 0)
12976
12977
else if (g.IO.ConfigNavCursorVisibleAuto)
12978
g.NavCursorVisible = true;
12979
g.NavHighlightItemUnderNav = g.NavMousePosDirty = true;
0 commit comments