mirror of
https://github.com/Drezil/imgui.git
synced 2025-10-28 19:51:05 +01:00
Tooltips, Internal: (Breaking) swapped parameter order to accomodate for future tooltip api rework.
This commit is contained in:
@@ -5580,7 +5580,7 @@ void ImGui::ColorTooltip(const char* text, const float* col, ImGuiColorEditFlags
|
||||
{
|
||||
ImGuiContext& g = *GImGui;
|
||||
|
||||
BeginTooltipEx(0, ImGuiTooltipFlags_OverridePreviousTooltip);
|
||||
BeginTooltipEx(ImGuiTooltipFlags_OverridePreviousTooltip, ImGuiWindowFlags_None);
|
||||
const char* text_end = text ? FindRenderedTextEnd(text, NULL) : text;
|
||||
if (text_end > text)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user