blackness
This commit is contained in:
parent
2af26b7a66
commit
65376c68e4
2 changed files with 4 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ class Comet(Animation):
|
|||
if tail_length == 0:
|
||||
tail_length = len(pixel_object) // 4
|
||||
if bounce and ring:
|
||||
raise ValueError('Cannot combine bounce and ring mode')
|
||||
raise ValueError("Cannot combine bounce and ring mode")
|
||||
self.reverse = reverse
|
||||
self.bounce = bounce
|
||||
self._initial_reverse = reverse
|
||||
|
|
|
|||
|
|
@ -82,7 +82,9 @@ class RainbowComet(Comet):
|
|||
else:
|
||||
self._colorwheel_step = step
|
||||
self._colorwheel_offset = colorwheel_offset
|
||||
super().__init__(pixel_object, speed, 0, tail_length, reverse, bounce, name, ring)
|
||||
super().__init__(
|
||||
pixel_object, speed, 0, tail_length, reverse, bounce, name, ring
|
||||
)
|
||||
|
||||
def _set_color(self, color):
|
||||
self._comet_colors = [BLACK]
|
||||
|
|
|
|||
Loading…
Reference in a new issue