Skip to content

Commit

Permalink
Fixed illegible colors
Browse files Browse the repository at this point in the history
  • Loading branch information
GuardKenzie committed Nov 21, 2021
1 parent 15f21d4 commit ee69737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/miniplayer
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ee69737

Please sign in to comment.