Skip to content

Commit

Permalink
Stash
Browse files Browse the repository at this point in the history
  • Loading branch information
jinglemansweep committed Nov 21, 2023
1 parent 26cccf0 commit 3757d3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wideboy/sprites/tile_grid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def update(self, frame, clock, delta, events):
super().update(frame, clock, delta, events)
dirty = False
for event in events:
if event.type in [EVENT_HASS_STATESTREAM_UPDATE]:
if event.type in [EVENT_HASS_STATESTREAM_UPDATE, EVENT_EPOCH_SECOND]:
dirty = True
if any([column.animating for column in self.columns_inst]):
dirty = True
Expand Down Expand Up @@ -226,7 +226,7 @@ class HorizontalCollapseTileGridColumn(TileGridColumn):

def __init__(self, state):
super().__init__(state)
self.width_animator = Animator(range=(0.0, 64.0), open=True, speed=1.0)
self.width_animator = Animator(range=(0.0, 64.0), open=True, speed=2.0)

def update(self):
self.width_animator.set(self.open)
Expand Down

0 comments on commit 3757d3a

Please sign in to comment.