Compare commits
2 Commits
af07226227
...
0019f4e019
Author | SHA1 | Date | |
---|---|---|---|
0019f4e019 | |||
46965c0040 |
@ -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(component))))
|
||||
new_components.append(str(int(float(color_factor) * int(float(component)))))
|
||||
return ",".join(new_components)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user