From ee6973714148daeba9ce874f1fc72b3200562105 Mon Sep 17 00:00:00 2001 From: Erica Date: Sun, 21 Nov 2021 22:06:34 +0000 Subject: [PATCH] Fixed illegible colors --- bin/miniplayer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/miniplayer b/bin/miniplayer index c3b618d..5c673d2 100755 --- a/bin/miniplayer +++ b/bin/miniplayer @@ -354,7 +354,7 @@ class Player: # Brightness and saturation thresholds if brightness < 0.35 or saturation < 0.1: - return 0.01 * (brightness + saturation) / 2 + return 0.01 * (brightness**2) else: return math.sqrt(brightness**2 * saturation)