aboutsummaryrefslogtreecommitdiff
path: root/src/client/gameui.cpp
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2023-01-16 20:16:23 +0100
committerGitHub <noreply@github.com>2023-01-16 20:16:23 +0100
commitecd6d616977c7ef15615cc63ef800a5d6ec442ff (patch)
tree400a571db40ca147bc559ba2b77bd7f0da610a4f /src/client/gameui.cpp
parenta2a280691c76d37ab1cbceb9571364d7551c0dea (diff)
downloadminetest-ecd6d616977c7ef15615cc63ef800a5d6ec442ff.tar.xz
Revisit F6 statistics formatting (#13126)
Diffstat (limited to 'src/client/gameui.cpp')
-rw-r--r--src/client/gameui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp
index 897cefc36..9daecc355 100644
--- a/src/client/gameui.cpp
+++ b/src/client/gameui.cpp
@@ -276,7 +276,7 @@ void GameUI::updateProfiler()
core::dimension2d<u32> size = m_guitext_profiler->getOverrideFont()->
getDimension(str.c_str());
- core::position2di upper_left(6, 50);
+ core::position2di upper_left(6, m_guitext->getTextHeight() * 2.5f);
core::position2di lower_right = upper_left;
lower_right.X += size.Width + 10;
lower_right.Y += size.Height;