summaryrefslogtreecommitdiff
path: root/src/rounds.c
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 18:57:07 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2024-01-07 18:57:07 +0100
commitc13e3bce702003aea65eef54ee462fd20cdf4fa1 (patch)
tree4e4821e4bfb73e2d3fae6c103bdc2a474fc63997 /src/rounds.c
parent89f6cc4d269f606157abf7824c5f385c7049082f (diff)
teehee
Diffstat (limited to 'src/rounds.c')
-rw-r--r--src/rounds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rounds.c b/src/rounds.c
index 27a4806..67fa2b5 100644
--- a/src/rounds.c
+++ b/src/rounds.c
@@ -70,11 +70,11 @@ void draw_round(platform_window* window) {
int characters_visible_count = _current_round.round_timer/delay_per_char;
if (characters_visible_count > round_text_len) characters_visible_count = round_text_len;
round_text[characters_visible_count] = 0;
- font* round_text_fnt = get_font(window, 1.0f);
+ font* round_text_fnt = get_font(window, 2.0f);
text_w = renderer->calculate_text_width(round_text_fnt, round_text);
final_text_y = _global_camera.y + window->height/4.0f;
- int box_pad = 10;
+ int box_pad = 15;
int box_x = window_center_x - (text_w/2)+1 - box_pad;
int box_y = final_text_y - box_pad;
int box_w = text_w + box_pad*2;