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

Method NavUpdateCurrentWindowIsScrollPushableX

include/imgui/imgui.cpp:13297–13302  ·  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

13295// True when current work location may be scrolled horizontally when moving left / right.
13296// This is generally always true UNLESS within a column. We don't have a vertical equivalent.
13297void ImGui::NavUpdateCurrentWindowIsScrollPushableX()
13298{
13299 ImGuiContext& g = *GImGui;
13300 ImGuiWindow* window = g.CurrentWindow;
13301 window->DC.NavIsScrollPushableX = (g.CurrentTable == NULL && window->DC.CurrentColumns == NULL);
13302}
13303
13304// We get there when either NavId == id, or when g.NavAnyRequest is set (which is updated by NavUpdateAnyRequestFlag above)
13305// 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