mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 20:53:52 +00:00
Don't recalculate sty.
This commit is contained in:
parent
f48415315a
commit
51f832c031
@ -32,11 +32,8 @@ void View::DrawThread( const TimelineContext& ctx, const ThreadData& thread, con
|
|||||||
const auto hover = ctx.hover;
|
const auto hover = ctx.hover;
|
||||||
const auto yMin = ctx.yMin;
|
const auto yMin = ctx.yMin;
|
||||||
const auto yMax = ctx.yMax;
|
const auto yMax = ctx.yMax;
|
||||||
|
const auto sty = ctx.sty;
|
||||||
ImGui::PushFont( m_smallFont );
|
|
||||||
const auto sty = ImGui::GetTextLineHeight();
|
|
||||||
const auto sstep = sty + 1;
|
const auto sstep = sty + 1;
|
||||||
ImGui::PopFont();
|
|
||||||
|
|
||||||
const auto sampleOffset = offset;
|
const auto sampleOffset = offset;
|
||||||
const auto hasSamples = m_vd.drawSamples && _hasSamples;
|
const auto hasSamples = m_vd.drawSamples && _hasSamples;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user