cycle complete at start_color

This commit is contained in:
tneish 2023-12-27 22:33:33 +01:00
parent da467ce9b7
commit 43aa654b4d

View file

@ -61,7 +61,7 @@ class ColorCycle(Animation):
self._color = self.colors[index]
yield
index = (index + 1) % len(self.colors)
if index == 0:
if index == start_color:
self.cycle_complete = True
def reset(self):