This commit is contained in:
Roy Hooper 2020-05-28 13:59:38 -04:00
parent 6c7ef3aaac
commit 6433e785db

View file

@ -126,7 +126,7 @@ class Comet(Animation):
if start <= 0:
num_visible = self._tail_length + start
self.pixel_object[0:num_visible] = colors[
self._tail_length - num_visible:
self._tail_length - num_visible :
]
else:
self.pixel_object[start : start + end] = colors[0:end]