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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user