mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
Display plot item time.
This commit is contained in:
parent
b1342a10b0
commit
e9be4934c4
@ -5347,6 +5347,7 @@ void View::DrawPlotPoint( const ImVec2& wpos, float x, float y, int offset, uint
|
||||
if( hover && ImGui::IsMouseHoveringRect( wpos + ImVec2( x - 2, offset ), wpos + ImVec2( x + 2, offset + PlotHeight ) ) )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
TextFocused( "Time:", TimeToString( item->time.Val() ) );
|
||||
if( type == PlotType::Memory )
|
||||
{
|
||||
TextDisabledUnformatted( "Value:" );
|
||||
|
Loading…
Reference in New Issue
Block a user