Fixed range-version of PushID() and GetID() not honoring the ### operator to restart from the seed value.

This commit is contained in:
omar
2019-01-21 16:05:41 +01:00
parent 28901dd104
commit f14f93ef6e
4 changed files with 52 additions and 35 deletions

View File

@ -6084,7 +6084,7 @@ static ImU32 ImGui::TabBarCalcTabID(ImGuiTabBar* tab_bar, const char* label)
{
if (tab_bar->Flags & ImGuiTabBarFlags_DockNode)
{
ImGuiID id = ImHash(label, 0);
ImGuiID id = ImHashStr(label, 0);
KeepAliveID(id);
return id;
}