From ad91b9b00255c65140caffc639b450d9057285a5 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 21 Apr 2018 16:53:17 +0200 Subject: [PATCH] Expand maximum view span from 1 minute to 1 hour. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index ab8db2e9..2bd118d5 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -666,7 +666,7 @@ void View::HandleZoneViewMouse( int64_t timespan, const ImVec2& wpos, float w, d m_zvStart += int64_t( p1 * 0.25 ); m_zvEnd -= int64_t( p2 * 0.25 ); } - else if( timespan < 1000ll * 1000 * 1000 * 60 ) + else if( timespan < 1000ll * 1000 * 1000 * 60 * 60 ) { m_zvStart -= std::max( int64_t( 1 ), int64_t( p1 * 0.25 ) ); m_zvEnd += std::max( int64_t( 1 ), int64_t( p2 * 0.25 ) );