From 6b64c8a91804058fea99ed6944753758ee92c543 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 10 May 2025 17:31:04 +1000 Subject: feat: basic notifications Also fix pixel issue with notif area background Add more log rules to run script --- modules/notifications/Notifications.qml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'modules/notifications/Notifications.qml') diff --git a/modules/notifications/Notifications.qml b/modules/notifications/Notifications.qml index 2c73802..fa01d33 100644 --- a/modules/notifications/Notifications.qml +++ b/modules/notifications/Notifications.qml @@ -12,14 +12,7 @@ Variants { id: root required property ShellScreen modelData - property bool osdVisible - - Timer { - // running: true - repeat: true - interval: 2000 - onTriggered: root.osdVisible = !root.osdVisible - } + property bool osdVisible: Notifs.list.length > 0 LazyLoader { loading: true @@ -38,7 +31,9 @@ Variants { anchors.top: true anchors.bottom: true + anchors.left: true anchors.right: true + width: wrapper.width height: wrapper.height -- cgit v1.2.3-freya