Display plot item time.

This commit is contained in:
Bartosz Taudul 2020-02-02 14:52:36 +01:00
parent b1342a10b0
commit e9be4934c4

View File

@ -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:" );