fix animations

This commit is contained in:
end-4
2025-04-19 23:57:50 +02:00
parent b879489d43
commit 905d26570f
4 changed files with 22 additions and 8 deletions
@@ -81,14 +81,19 @@ Item {
Item {
id: notificationBackgroundWrapper
anchors.fill: parent
implicitHeight: notificationColumnLayout.implicitHeight
// anchors.fill: parent
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.topMargin: notificationListSpacing
implicitHeight: notificationColumnLayout.implicitHeight + notificationListSpacing
Rectangle {
id: notificationBackground
anchors.fill: parent
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
height: notificationColumnLayout.implicitHeight
color: (notificationObject.urgency == NotificationUrgency.Critical) ?
Appearance.mix(Appearance.m3colors.m3secondaryContainer, Appearance.colors.colLayer2, 0.35) : Appearance.colors.colLayer2
@@ -109,7 +114,7 @@ Item {
id: notificationRowWrapper
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
anchors.bottom: parent.bottom
implicitHeight: notificationColumnLayout.implicitHeight + notificationListSpacing
Behavior on x {