From 09e5f656cead18132876c26d93f7fa3b52e2916f Mon Sep 17 00:00:00 2001 From: Roy Hooper Date: Mon, 22 Jun 2020 19:11:36 -0400 Subject: [PATCH] make animation fill show the pixels. --- adafruit_led_animation/animation/__init__.py | 1 + adafruit_led_animation/sequence.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_led_animation/animation/__init__.py b/adafruit_led_animation/animation/__init__.py index 5265296..51d097d 100644 --- a/adafruit_led_animation/animation/__init__.py +++ b/adafruit_led_animation/animation/__init__.py @@ -173,6 +173,7 @@ def fill(self, color): Fills the pixel object with a color. """ self.pixel_object.fill(color) + self.pixel_object.show() @property def color(self): diff --git a/adafruit_led_animation/sequence.py b/adafruit_led_animation/sequence.py index 31aac05..bdf8eff 100644 --- a/adafruit_led_animation/sequence.py +++ b/adafruit_led_animation/sequence.py @@ -172,7 +172,6 @@ def _advance(self): self.current_animation.reset() if self.auto_clear: self.current_animation.fill(self.clear_color) - self.current_animation.show() if self._random: self.random() else: