diff --git a/src/render.c b/src/render.c index f77839f..350901c 100644 --- a/src/render.c +++ b/src/render.c @@ -370,7 +370,7 @@ void render_action_log(const char log[5][128], int count, int head) { void render_inventory_overlay(const Player *p, int selected) { // Overlay dimensions int ov_width = 360; - int ov_height = 300; + int ov_height = 337; Rectangle overlay = {(float)(SCREEN_WIDTH - ov_width) / 2, (float)(SCREEN_HEIGHT - ov_height) / 2 - 60, (float)ov_width, (float)ov_height}; DrawRectangleRec(overlay, (Color){12, 12, 12, 252}); @@ -394,8 +394,8 @@ void render_inventory_overlay(const Player *p, int selected) { // Selection highlight if (i == selected) { - DrawRectangle((int)overlay.x + 6, y_pos, (int)overlay.width - 12, row_height - 2, (Color){45, 45, 45, 255}); - DrawRectangleLines((int)overlay.x + 6, y_pos, (int)overlay.width - 12, row_height - 2, + DrawRectangle((int)overlay.x + 6, y_pos - 2, (int)overlay.width - 12, row_height - 2, (Color){45, 45, 45, 255}); + DrawRectangleLines((int)overlay.x + 6, y_pos - 2, (int)overlay.width - 12, row_height - 2, (Color){180, 160, 80, 255}); }