From ef1cf1dd58df5157c9501911756010754257d0fa Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 14 Nov 2025 12:18:11 -0500 Subject: graphics: make more constants dependant on texture size --- graphics/src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/src/render.rs b/graphics/src/render.rs index ba6cf81..a206e04 100644 --- a/graphics/src/render.rs +++ b/graphics/src/render.rs @@ -73,7 +73,7 @@ const WALL_HEIGHT: u16 = 7; const VIEW_DISTANCE: u16 = 9; /// The size of padding in the UI -const UI_PADDING: u16 = 8; +const UI_PADDING: u16 = TEXTURE_SIZE / 2; /// The size of the font const FONT_SIZE: u16 = TEXTURE_SIZE; -- cgit v1.2.3-freya