fix notifiation colors
This commit is contained in:
parent
cdf6547a87
commit
1c3d7fb15f
@ -52,6 +52,15 @@ Variants {
|
|||||||
easing.type: Easing.OutExpo
|
easing.type: Easing.OutExpo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
remove: Transition {
|
||||||
|
NumberAnimation {
|
||||||
|
property: "x"
|
||||||
|
from: 0
|
||||||
|
to: notifList.width
|
||||||
|
duration: 400
|
||||||
|
easing.type: Easing.OutExpo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Optional: Animate items moving up when one is dismissed
|
// Optional: Animate items moving up when one is dismissed
|
||||||
move: Transition {
|
move: Transition {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ Rectangle {
|
|||||||
required property var modelData
|
required property var modelData
|
||||||
implicitWidth: ListView.view ? ListView.view.width : 300
|
implicitWidth: ListView.view ? ListView.view.width : 300
|
||||||
implicitHeight: fullLayout.implicitHeight + 20
|
implicitHeight: fullLayout.implicitHeight + 20
|
||||||
color: dismissArea.containsMouse ? Colors.color5 : Colors.color6
|
color: dismissArea.containsMouse ? Colors.surfaceContainer : Colors.surfaceContainerLowest
|
||||||
radius: 22
|
radius: 22
|
||||||
Timer {
|
Timer {
|
||||||
id: dismissTimer
|
id: dismissTimer
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user