From f944d879bb1e1a28c939655e84ef447e918178fb Mon Sep 17 00:00:00 2001 From: iWas-Coder Date: Thu, 16 May 2024 15:20:57 +0200 Subject: [PATCH] fix: width-centered controls image in loading scene Signed-off-by: iWas-Coder --- src/sk_scene_loading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sk_scene_loading.c b/src/sk_scene_loading.c index 900a0fb..d21bfe1 100644 --- a/src/sk_scene_loading.c +++ b/src/sk_scene_loading.c @@ -51,6 +51,6 @@ void sk_scene_loading_draw(sk_state *s) { 50, LOADING_TITLE_SIZE, RAYWHITE); - DrawTexture(s->loading_controls, GetScreenWidth() - s->loading_controls.width - 100, 100, WHITE); + DrawTexture(s->loading_controls, GetScreenWidth() / 2 - s->loading_controls.width / 2, 100, WHITE); is_loading_drawn_once = 1; }