Fix readmarker background colour animation
Update the target for the read marker background colour animation
This commit is contained in:
@@ -70,6 +70,7 @@ QQC2.ItemDelegate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
background: Kirigami.ShadowedRectangle {
|
background: Kirigami.ShadowedRectangle {
|
||||||
|
id: readMarkerBackground
|
||||||
color: {
|
color: {
|
||||||
if (readMarkerDelegate.isTemporaryHighlighted) {
|
if (readMarkerDelegate.isTemporaryHighlighted) {
|
||||||
return Kirigami.Theme.positiveBackgroundColor
|
return Kirigami.Theme.positiveBackgroundColor
|
||||||
@@ -85,7 +86,7 @@ QQC2.ItemDelegate {
|
|||||||
border.width: 1
|
border.width: 1
|
||||||
|
|
||||||
Behavior on color {
|
Behavior on color {
|
||||||
ColorAnimation {target: bubbleBackground; duration: Kirigami.Units.veryLongDuration; easing.type: Easing.InOutCubic}
|
ColorAnimation {target: readMarkerBackground; duration: Kirigami.Units.veryLongDuration; easing.type: Easing.InOutCubic}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user