Do not include DPI scaling when grouping plot points.

This commit is contained in:
Bartosz Taudul 2023-04-24 22:58:47 +02:00
parent 102bb9f8a8
commit 616992a6d5
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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();