1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Revisit F6 statistics formatting (#13126)

This commit is contained in:
SmallJoker
2023-01-16 20:16:23 +01:00
committed by GitHub
parent a2a280691c
commit ecd6d61697
3 changed files with 12 additions and 11 deletions

View File

@@ -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;