mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Revisit F6 statistics formatting (#13126)
This commit is contained in:
parent
a2a280691c
commit
ecd6d61697
3 changed files with 12 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue