mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Adapt frames view to font size.
This commit is contained in:
parent
ba68df329f
commit
cc196ff0a8
@ -514,7 +514,8 @@ void View::DrawFrames()
|
|||||||
{
|
{
|
||||||
assert( m_worker.GetFrameCount() != 0 );
|
assert( m_worker.GetFrameCount() != 0 );
|
||||||
|
|
||||||
enum { Height = 40 };
|
const auto Height = 40 * ImGui::GetTextLineHeight() / 15.f;
|
||||||
|
|
||||||
enum { MaxFrameTime = 50 * 1000 * 1000 }; // 50ms
|
enum { MaxFrameTime = 50 * 1000 * 1000 }; // 50ms
|
||||||
|
|
||||||
ImGuiWindow* window = ImGui::GetCurrentWindow();
|
ImGuiWindow* window = ImGui::GetCurrentWindow();
|
||||||
|
Loading…
Reference in New Issue
Block a user