Skip to content

Commit

Permalink
Fix division error causing incorrect colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Sep 15, 2014
1 parent 8b96810 commit d5cdb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fofix/core/Theme.py
Expand Up @@ -88,7 +88,7 @@ def hexToColor(color):
else:
colorData = [color[i:i+2] for i in xrange(0, len(color), 2)]

rgbColor = tuple([int(i, 16) / 255 for i in colorData])
rgbColor = tuple([int(i, 16) / 255.0 for i in colorData])

return rgbColor

Expand Down

0 comments on commit d5cdb08

Please sign in to comment.