Notifications: ensure they are not sandwitched between panels

+ Always access lockScreen via panel service and removed deprecation
notice.
This commit is contained in:
ItsLemmy
2025-11-21 15:18:38 -05:00
parent f46915d2c3
commit 7a68030f69
5 changed files with 19 additions and 105 deletions
+4 -4
View File
@@ -21,8 +21,8 @@ Variants {
property ListModel notificationModel: NotificationService.activeList
// Loader is active when there are notifications
active: notificationModel.count > 0 || delayTimer.running
// Always create window (but with 0x0 dimensions when no notifications)
active: true
// Keep loader active briefly after last notification to allow animations to complete
Timer {
@@ -104,8 +104,8 @@ Variants {
margins.left: isLeft ? barOffsetLeft : 0
margins.right: isRight ? barOffsetRight : 0
implicitWidth: notifWidth
implicitHeight: notificationStack.implicitHeight + Style.marginL
implicitWidth: (notificationModel.count > 0 || delayTimer.running) ? notifWidth : 0
implicitHeight: (notificationModel.count > 0 || delayTimer.running) ? (notificationStack.implicitHeight + Style.marginL) : 0
property var animateConnection: null