Skip to content

Commit ee69737

Browse files
committed
Fixed illegible colors
1 parent 15f21d4 commit ee69737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/miniplayer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class Player:
354354

355355
# Brightness and saturation thresholds
356356
if brightness < 0.35 or saturation < 0.1:
357-
return 0.01 * (brightness + saturation) / 2
357+
return 0.01 * (brightness**2)
358358
else:
359359
return math.sqrt(brightness**2 * saturation)
360360

0 commit comments

Comments
 (0)