diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a2adf29d..df4455b9 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -514,7 +514,8 @@ void View::DrawFrames() { assert( m_worker.GetFrameCount() != 0 ); - enum { Height = 40 }; + const auto Height = 40 * ImGui::GetTextLineHeight() / 15.f; + enum { MaxFrameTime = 50 * 1000 * 1000 }; // 50ms ImGuiWindow* window = ImGui::GetCurrentWindow();