- Attempted fix for #341

This commit is contained in:
trigg 2024-08-14 23:17:56 +01:00
parent e2ee444fc4
commit e5652259c6

View file

@ -122,8 +122,8 @@ class NotificationOverlayWindow(OverlayWindow):
if message['time'] + self.text_time > now:
newlist.append(message)
self.content = newlist
# If the list is different than before
if oldsize != len(newlist):
# If there is still content to remove
if len(newlist) > 0 or oldsize != len(newlist):
self.set_needs_redraw()
def add_notification_message(self, data):