Skip to content

Commit

Permalink
Merge pull request #61 from PiezoU005F/patch-1
Browse files Browse the repository at this point in the history
Allow saturation values of greater than 100
  • Loading branch information
Matias Särs authored May 13, 2018
2 parents 8429c63 + 904af11 commit bf73c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockbarx/iconfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def __command_transp_sat(self, surface, opacity="100", saturation="100"):
alpha = self.__get_alpha(opacity)
# Todo: Add error check for saturation
sat = float(saturation)
if sat < 100:
if sat != 100:
im = self.__surface2pil(surface)
w, h = im.size
pixels = im.load()
Expand Down

0 comments on commit bf73c94

Please sign in to comment.