summaryrefslogtreecommitdiffstats
path: root/src/game/client/gui
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-26 17:29:40 +0500
committeruntodesu <kirill@untode.su>2025-12-26 17:29:40 +0500
commit50c6db34574ce5c9d67e9a7c70a7cafb19ac2007 (patch)
tree730a59d1f08b8344df7653b98d884328449fc8d1 /src/game/client/gui
parente73282ec5c8fd2b04cdae5c2641e7bc622ccce1f (diff)
downloadvoxelius-50c6db34574ce5c9d67e9a7c70a7cafb19ac2007.tar.bz2
voxelius-50c6db34574ce5c9d67e9a7c70a7cafb19ac2007.zip
Rework collision. Possibly fixes #19
Diffstat (limited to 'src/game/client/gui')
-rw-r--r--src/game/client/gui/metrics.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/gui/metrics.cc b/src/game/client/gui/metrics.cc
index 51b1ffa..f39434a 100644
--- a/src/game/client/gui/metrics.cc
+++ b/src/game/client/gui/metrics.cc
@@ -48,9 +48,9 @@ void metrics::layout(void)
auto text_color = ImGui::GetColorU32(ImVec4(1.0f, 1.0f, 1.0f, 1.0f));
auto shadow_color = ImGui::GetColorU32(ImVec4(0.1f, 0.1f, 0.1f, 1.0f));
- auto font_size = 4.0f;
+ auto font_size = 8.0f * globals::gui_scale;
auto position = ImVec2(8.0f, 8.0f);
- auto y_step = 1.5f * globals::gui_scale * font_size;
+ auto y_step = 1.5f * font_size;
// Draw version
auto version_line = std::format("Voxelius {}", version::full);