Skip to content

Commit

Permalink
fix: width-centered controls image in loading scene
Browse files Browse the repository at this point in the history
Signed-off-by: iWas-Coder <wasymatieh01@gmail.com>
  • Loading branch information
iWas-Coder committed May 16, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent b96e6f9 commit f944d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sk_scene_loading.c
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit f944d87

Please sign in to comment.