Fix regression with no tooltips on disabled items.

This commit is contained in:
Bartosz Taudul
2026-06-09 23:31:59 +02:00
parent 37bc986584
commit 992134f85e

View File

@@ -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();