mirror of
https://github.com/wolfpld/tracy
synced 2026-02-21 03:32:26 +00:00
Adapt frames view to font size.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user