diff --git a/server/TracyView.cpp b/server/TracyView.cpp index c6c005ad..9a1767bb 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -1811,13 +1811,13 @@ void View::HandleZoneViewMouse( int64_t timespan, const ImVec2& wpos, float w, d const auto p2 = timespan - p1; if( wheel > 0 ) { - m_zvStart += int64_t( p1 * 0.2f ); - m_zvEnd -= int64_t( p2 * 0.2f ); + m_zvStart += int64_t( p1 * 0.25 ); + m_zvEnd -= int64_t( p2 * 0.25 ); } else if( timespan < 1000ll * 1000 * 1000 * 60 ) { - m_zvStart -= std::max( int64_t( 1 ), int64_t( p1 * 0.2f ) ); - m_zvEnd += std::max( int64_t( 1 ), int64_t( p2 * 0.2f ) ); + m_zvStart -= std::max( int64_t( 1 ), int64_t( p1 * 0.25 ) ); + m_zvEnd += std::max( int64_t( 1 ), int64_t( p2 * 0.25 ) ); } timespan = m_zvEnd - m_zvStart; pxns = w / double( timespan );