mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Do not include DPI scaling when grouping plot points.
This commit is contained in:
parent
102bb9f8a8
commit
616992a6d5
@ -132,7 +132,7 @@ void TimelineItemPlot::Preprocess( const TimelineContext& ctx, TaskDispatch& td,
|
|||||||
const auto vStart = ctx.vStart;
|
const auto vStart = ctx.vStart;
|
||||||
const auto vEnd = ctx.vEnd;
|
const auto vEnd = ctx.vEnd;
|
||||||
const auto nspx = ctx.nspx;
|
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;
|
auto& vec = m_plot->data;
|
||||||
vec.ensure_sorted();
|
vec.ensure_sorted();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user