From 8f992718cb4f3b0ac52e80cef70f49ee68140420 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Fri, 15 Sep 2023 12:55:39 -0400 Subject: [PATCH] fix(ags): make notif list invisible when no notifs in notif center --- config/ags/js/notifications/center.js | 1 + 1 file changed, 1 insertion(+) diff --git a/config/ags/js/notifications/center.js b/config/ags/js/notifications/center.js index a0b96e65..88c6efe9 100644 --- a/config/ags/js/notifications/center.js +++ b/config/ags/js/notifications/center.js @@ -53,6 +53,7 @@ const NotificationList = () => Box({ }, 'notified'], [Notifications, (box, id) => { + box.visible = Notifications.notifications.length > 0; for (const ch of box.children) { if (ch._id == id) { ch.child.setStyle(ch.child._rightAnim);