mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Use TooltipIfHovered() where appropriate.
This commit is contained in:
@@ -824,12 +824,7 @@ static void DrawContents()
|
||||
{
|
||||
ImGui::SameLine();
|
||||
tracy::TextColoredUnformatted( 0xFF00FFFF, ICON_FA_EXCLAMATION_TRIANGLE );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::TextUnformatted( "Filters are active" );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
tracy::TooltipIfHovered( "Filters are active" );
|
||||
if( showFilter )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
|
||||
Reference in New Issue
Block a user