MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / NavUpdateCurrentWindowIsScrollPushableX

Method NavUpdateCurrentWindowIsScrollPushableX

include/imgui/imgui.cpp:13387–13392  ·  view source on GitHub ↗

True when current work location may be scrolled horizontally when moving left / right. This is generally always true UNLESS within a column. We don't have a vertical equivalent.

Source from the content-addressed store, hash-verified

13385// True when current work location may be scrolled horizontally when moving left / right.
13386// This is generally always true UNLESS within a column. We don't have a vertical equivalent.
13387void ImGui::NavUpdateCurrentWindowIsScrollPushableX()
13388{
13389 ImGuiContext& g = *GImGui;
13390 ImGuiWindow* window = g.CurrentWindow;
13391 window->DC.NavIsScrollPushableX = (g.CurrentTable == NULL && window->DC.CurrentColumns == NULL);
13392}
13393
13394// We get there when either NavId == id, or when g.NavAnyRequest is set (which is updated by NavUpdateAnyRequestFlag above)
13395// This is called after LastItemData is set, but NextItemData is also still valid.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected