Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'server/TracyImGui.hpp')
-rw-r--r--server/TracyImGui.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/TracyImGui.hpp b/server/TracyImGui.hpp
index 2b794fd4..4c7c4f1e 100644
--- a/server/TracyImGui.hpp
+++ b/server/TracyImGui.hpp
@@ -95,7 +95,7 @@ static const ImVec4 SyntaxColorsDimmed[] = {
ImGui::TextUnformatted( "" );
auto draw = ImGui::GetWindowDrawList();
const auto wpos = ImGui::GetWindowPos();
- const auto ty = ImGui::GetFontSize();
+ const auto ty = ImGui::GetTextLineHeight();
const auto h = ImGui::GetCursorPosY() - ty * 0.5f;
const auto w = ImGui::GetWindowWidth();
draw->AddCircleFilled( wpos + ImVec2( w * 0.5f - ty, h ), ty * ( 0.15f + 0.2f * ( pow( cos( time * 3.5f + 0.3f ), 16.f ) ) ), 0xFFBBBBBB, 12 );