diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b405dd13..23e93f2c 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -8661,9 +8661,23 @@ void View::DrawMessages() ImGui::Separator(); int idx = 0; - for( const auto& msgIdx : msgList ) + if( m_msgToFocus ) { - DrawMessageLine( *msgs[msgIdx], hasCallstack, idx ); + for( const auto& msgIdx : msgList ) + { + DrawMessageLine( *msgs[msgIdx], hasCallstack, idx ); + } + } + else + { + ImGuiListClipper clipper( msgList.size() ); + while( clipper.Step() ) + { + for( auto i=clipper.DisplayStart; i= ImGui::GetScrollMaxY() )