1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-09 23:54:20 +00:00

Misc: tweak conflicting id error tooltip to use a link.

Now that nested tooltips are not hiding each others.
This commit is contained in:
ocornut 2025-11-13 13:44:47 +01:00
parent 613cfaf0b4
commit 68a44776bd

View file

@ -11033,8 +11033,7 @@ void ImGui::ErrorCheckEndFrameFinalizeErrorTooltip()
Text("(Hold CTRL to ");
}
SameLine(0.0f, 0.0f);
if (SmallButton("Open FAQ->About ID Stack System") && g.PlatformIO.Platform_OpenInShellFn != NULL)
g.PlatformIO.Platform_OpenInShellFn(&g, "https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#qa-usage");
TextLinkOpenURL("Read FAQ \"About ID Stack System\"", "https://github.com/ocornut/imgui/blob/master/docs/FAQ.md#qa-usage");
SameLine(0.0f, 0.0f);
Text(")");
EndErrorTooltip();