Skip to content

Commit 22b9ec8

Browse files
authored
Merge pull request #55 from rhooper/fill-fix
make animation.fill() show the pixels
2 parents b5e75fa + 09e5f65 commit 22b9ec8

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

adafruit_led_animation/animation/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def fill(self, color):
173173
Fills the pixel object with a color.
174174
"""
175175
self.pixel_object.fill(color)
176+
self.pixel_object.show()
176177

177178
@property
178179
def color(self):

adafruit_led_animation/sequence.py

-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ def _advance(self):
172172
self.current_animation.reset()
173173
if self.auto_clear:
174174
self.current_animation.fill(self.clear_color)
175-
self.current_animation.show()
176175
if self._random:
177176
self.random()
178177
else:

0 commit comments

Comments
 (0)