diff --git a/profiler/src/profiler/TracyView_ZoneTimeline.cpp b/profiler/src/profiler/TracyView_ZoneTimeline.cpp index 8e3e4aaa..53316d86 100644 --- a/profiler/src/profiler/TracyView_ZoneTimeline.cpp +++ b/profiler/src/profiler/TracyView_ZoneTimeline.cpp @@ -675,7 +675,7 @@ int View::DrawThreadCropper( const int depth, const uint64_t tid, const float xP if( clicked ) { const int newDepthLimit = lane + 1; - if( depthLimit == newDepthLimit ) + if( isCropped && depthLimit == newDepthLimit ) { m_threadDepthLimit.erase( tid ); }