Fix thread context switch offset.

This commit is contained in:
Bartosz Taudul 2023-05-01 12:50:48 +02:00
parent 5019f7d2b4
commit 993c78f045
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -143,7 +143,7 @@ void View::DrawContextSwitchList( const TimelineContext& ctx, const std::vector<
const auto pxns = ctx.pxns; const auto pxns = ctx.pxns;
const auto hover = ctx.hover; const auto hover = ctx.hover;
const auto w = ctx.w; const auto w = ctx.w;
const auto ty = ctx.ty; const auto ty = round( ctx.ty * 0.75f );
const auto lineSize = 2 * GetScale(); const auto lineSize = 2 * GetScale();
auto draw = ImGui::GetWindowDrawList(); auto draw = ImGui::GetWindowDrawList();