From e5652259c6538b5ed52f1b848e37825e8c3ee5ad Mon Sep 17 00:00:00 2001 From: trigg Date: Wed, 14 Aug 2024 23:17:56 +0100 Subject: [PATCH] - Attempted fix for #341 --- discover_overlay/notification_overlay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discover_overlay/notification_overlay.py b/discover_overlay/notification_overlay.py index 8793116..bb4132f 100644 --- a/discover_overlay/notification_overlay.py +++ b/discover_overlay/notification_overlay.py @@ -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):