From 992134f85e80ee6cbe673fc56280ba6c66a2ce3c Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 9 Jun 2026 23:31:59 +0200 Subject: [PATCH] Fix regression with no tooltips on disabled items. --- profiler/src/profiler/TracyImGui.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyImGui.hpp b/profiler/src/profiler/TracyImGui.hpp index d02465f4..0d41cf32 100644 --- a/profiler/src/profiler/TracyImGui.hpp +++ b/profiler/src/profiler/TracyImGui.hpp @@ -290,7 +290,7 @@ static constexpr const uint32_t AsmSyntaxColors[] = { [[maybe_unused]] static tracy_force_inline void TooltipIfHovered( const char* text ) { - if( !ImGui::IsItemHovered() ) return; + if( !ImGui::IsItemHovered( ImGuiHoveredFlags_AllowWhenDisabled ) ) return; ImGui::BeginTooltip(); ImGui::TextUnformatted( text ); ImGui::EndTooltip();