From 616992a6d5a547538c740e42b8072ecc212a6cbd Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 24 Apr 2023 22:58:47 +0200 Subject: [PATCH] Do not include DPI scaling when grouping plot points. --- server/TracyTimelineItemPlot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyTimelineItemPlot.cpp b/server/TracyTimelineItemPlot.cpp index 939f3713..7eefbd41 100644 --- a/server/TracyTimelineItemPlot.cpp +++ b/server/TracyTimelineItemPlot.cpp @@ -132,7 +132,7 @@ void TimelineItemPlot::Preprocess( const TimelineContext& ctx, TaskDispatch& td, const auto vStart = ctx.vStart; const auto vEnd = ctx.vEnd; const auto nspx = ctx.nspx; - const auto MinVisNs = int64_t( round( GetScale() * MinVisSize * nspx ) ); + const auto MinVisNs = int64_t( round( MinVisSize * nspx ) ); auto& vec = m_plot->data; vec.ensure_sorted();