mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Add standard deviation explanation tooltips.
This commit is contained in:
parent
18e7b9df11
commit
5177629130
@ -6042,6 +6042,12 @@ void View::DrawFindZone()
|
||||
#else
|
||||
TextFocused( "s:", TimeToString( sd ) );
|
||||
#endif
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::Text( "Standard deviation" );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
}
|
||||
|
||||
TextDisabledUnformatted( "Selection range:" );
|
||||
@ -7179,6 +7185,12 @@ void View::DrawCompare()
|
||||
#else
|
||||
TextFocused( "s (this):", TimeToString( sd ) );
|
||||
#endif
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::Text( "Standard deviation" );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -7212,6 +7224,12 @@ void View::DrawCompare()
|
||||
#else
|
||||
TextFocused( "s (ext.):", TimeToString( sd ) );
|
||||
#endif
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::Text( "Standard deviation" );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef TRACY_EXTENDED_FONT
|
||||
|
Loading…
Reference in New Issue
Block a user