From 8b50cd53c82070bc614babdcb72001afd9053ed9 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Mon, 14 Jun 2021 21:41:55 +0200 Subject: [PATCH] Tweak level display color --- plugins/score/score.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/score/score.c b/plugins/score/score.c index c310d3b..6a8e85d 100644 --- a/plugins/score/score.c +++ b/plugins/score/score.c @@ -53,7 +53,7 @@ static void render_score(struct winsize ws) set_color((struct color) {bar_flash, 255, bar_flash}, true); int level_flash = clamp(level_timer * 255, 0, 255); - set_color((struct color) {255, 255, 255 - level_flash}, false); + set_color((struct color) {level_flash, 128 + (level_flash / 2), level_flash}, false); size_t level_len = level_symbol_len > 0 ? 6 + level_symbol_len + 1 : 0; char level_display[level_len]; -- 2.44.0