From d1bb306dae5dec2a23496cec65b76f8c62c3eed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Gr=C3=A9goire?= Date: Wed, 23 Jul 2025 15:33:44 +0200 Subject: [PATCH] Fix last cropper handle click --- profiler/src/profiler/TracyView_ZoneTimeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }