Internals: removed GetIDNoKeepAlive() now that it is the same as GetID(). (#5181)

Amend 9038678
This commit is contained in:
ocornut
2022-04-12 14:49:21 +02:00
parent 90386780e3
commit 6d15a506fa
3 changed files with 5 additions and 38 deletions

View File

@ -856,7 +856,7 @@ bool ImGui::CollapseButton(ImGuiID id, const ImVec2& pos)
ImGuiID ImGui::GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis)
{
return window->GetIDNoKeepAlive(axis == ImGuiAxis_X ? "#SCROLLX" : "#SCROLLY");
return window->GetID(axis == ImGuiAxis_X ? "#SCROLLX" : "#SCROLLY");
}
// Return scrollbar rectangle, must only be called for corresponding axis if window->ScrollbarX/Y is set.