mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Stop connection window from jumping around.
This commit is contained in:
parent
a4e877a89f
commit
ea588072f2
@ -468,7 +468,9 @@ void View::DrawConnection()
|
||||
|
||||
{
|
||||
std::lock_guard<TracyMutex> lock( m_worker.GetMbpsDataLock() );
|
||||
ImGui::Begin( m_worker.GetAddr().c_str(), nullptr, ImGuiWindowFlags_AlwaysAutoResize );
|
||||
char tmp[2048];
|
||||
sprintf( tmp, "%s###Connection", m_worker.GetAddr().c_str() );
|
||||
ImGui::Begin( tmp, nullptr, ImGuiWindowFlags_AlwaysAutoResize );
|
||||
const auto& mbpsVector = m_worker.GetMbpsData();
|
||||
const auto mbps = mbpsVector.back();
|
||||
char buf[64];
|
||||
|
Loading…
Reference in New Issue
Block a user