Commit 389dd7b4 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Fix typos/small mistakes

parent 3ed2f8ed
......@@ -41,14 +41,14 @@ class ColorManager(Thread):
self.current_rand = -randint(1, 8)
self.current_color = Color(80, 255, self.current_color.blue)
elif self.current_color.green + self.current_rand < 0:
rand = randint(1, 8)
self.current_rand = randint(1, 8)
self.current_color = Color(0, 255, self.current_color.blue)
else:
self.current_color.green += rand
self.current_color.green += self.current_rand
self.current_color.red = 255
self.current_color.blue = self.unscaled_blue * self.current_color.green//255
if self.unscaled_blue < 100 :
self.unscaled_blue++
self.unscaled_blue += 1
def fade(self):
if self.current_color.red > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment