diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2021-12-22 19:34:04 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2021-12-22 19:57:57 +0300 |
commit | 6b59ccfe4d6b612102e422292bf8ee9e3784b231 (patch) | |
tree | a1fc2871fc91da778e9eb696d2915323e78bf425 /server/TracyImGui.hpp | |
parent | 9fae8b7e42aa73a83536b3acc51ac0ce455a3df1 (diff) |
GetFontSize() -> GetTextLineHeight().
Diffstat (limited to 'server/TracyImGui.hpp')
-rw-r--r-- | server/TracyImGui.hpp | 2 |
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 ); |