From 4369cbf16d3f97164896c84cea0b60e9eca7df43 Mon Sep 17 00:00:00 2001 From: NightlyFox Date: Thu, 20 Sep 2018 21:09:41 -0500 Subject: [PATCH] not sure how the highlight multiplier got removed, but i added it back --- common/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/menu.c b/common/menu.c index 91e44ed..112f026 100644 --- a/common/menu.c +++ b/common/menu.c @@ -132,7 +132,7 @@ static void drawEntry(menuEntry_s* me, int off_x, int is_active) { int shadow_size = 4; if (is_active) { - + highlight_multiplier = fmax(0.0, fabs(fmod(menuTimer, 1.0) - 0.5) / 0.5); border_color = MakeColor(themeCurrent.highlightColor.r + (255 - themeCurrent.highlightColor.r) * highlight_multiplier, themeCurrent.highlightColor.g + (255 - themeCurrent.highlightColor.g) * highlight_multiplier, themeCurrent.highlightColor.b + (255 - themeCurrent.highlightColor.b) * highlight_multiplier, 255); border_start_x = start_x-6; border_end_x = end_x+6;