From 68a44776bdeb387c635b3cb23a4e252ee476f5af Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 13 Nov 2025 13:44:47 +0100 Subject: [PATCH] Misc: tweak conflicting id error tooltip to use a link. Now that nested tooltips are not hiding each others. --- imgui.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/imgui.cpp b/imgui.cpp index e8b65a0b2..2664d3050 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -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();