mirror of
https://github.com/Drezil/imgui.git
synced 2025-10-30 12:41:06 +01:00
Fixed range-version of PushID() and GetID() not honoring the ### operator to restart from the seed value.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user