Compare commits
No commits in common. "0019f4e019025b0c3479f50026203414c3f4e8a0" and "af0722622794bdf91a7954007e0625424d129c81" have entirely different histories.
0019f4e019
...
af07226227
@ -12,7 +12,7 @@ def normalise_colour(max_color, triplet):
|
||||
components = triplet.split(",")
|
||||
new_components = []
|
||||
for component in components:
|
||||
new_components.append(str(int(float(color_factor) * int(float(component)))))
|
||||
new_components.append(str(int(float(color_factor) * int(component))))
|
||||
return ",".join(new_components)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user