Internals: Tooltips: renamed internal flags (expecting to expose later when we publish priority stuff).

This commit is contained in:
ocornut
2023-06-16 13:28:54 +02:00
parent 89d3dabf2e
commit 15d74bad1d
3 changed files with 5 additions and 5 deletions

View File

@ -5831,7 +5831,7 @@ void ImGui::ColorTooltip(const char* text, const float* col, ImGuiColorEditFlags
{
ImGuiContext& g = *GImGui;
if (!BeginTooltipEx(ImGuiTooltipFlags_OverridePreviousTooltip, ImGuiWindowFlags_None))
if (!BeginTooltipEx(ImGuiTooltipFlags_OverridePrevious, ImGuiWindowFlags_None))
return;
const char* text_end = text ? FindRenderedTextEnd(text, NULL) : text;
if (text_end > text)