From cc959e4277f0a0e4afe1c5a9ea4a74f843608548 Mon Sep 17 00:00:00 2001 From: Louis King Date: Tue, 21 Nov 2023 00:12:38 +0000 Subject: [PATCH] Stash --- wideboy/sprites/tile_grid/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wideboy/sprites/tile_grid/helpers.py b/wideboy/sprites/tile_grid/helpers.py index 6e78064..7d756d5 100644 --- a/wideboy/sprites/tile_grid/helpers.py +++ b/wideboy/sprites/tile_grid/helpers.py @@ -170,7 +170,7 @@ def state(self): @property def animating(self): - return self.range[0] < self.value < self.range[1] + return self.value != self.range[0] and self.value != self.range[1] def toggle(self): self.open = not self.open