mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Only scroll message list to bottom if capture is live.
This commit is contained in:
parent
a2f968d843
commit
fc5293b1ae
@ -6863,7 +6863,7 @@ void View::DrawMessages()
|
|||||||
}
|
}
|
||||||
m_visibleMessages = msgcnt;
|
m_visibleMessages = msgcnt;
|
||||||
|
|
||||||
if( ImGui::GetScrollY() >= ImGui::GetScrollMaxY() )
|
if( m_worker.IsConnected() && ImGui::GetScrollY() >= ImGui::GetScrollMaxY() )
|
||||||
{
|
{
|
||||||
ImGui::SetScrollHereY( 1.f );
|
ImGui::SetScrollHereY( 1.f );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user