From eff994a9be9177580d89d115496f8c2f505feaeb Mon Sep 17 00:00:00 2001 From: James Graham Date: Thu, 24 Nov 2022 21:04:48 +0000 Subject: [PATCH] Fix readmarker background colour animation Update the target for the read marker background colour animation --- src/qml/Component/Timeline/ReadMarkerDelegate.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qml/Component/Timeline/ReadMarkerDelegate.qml b/src/qml/Component/Timeline/ReadMarkerDelegate.qml index db1b8da6f..acb293a69 100644 --- a/src/qml/Component/Timeline/ReadMarkerDelegate.qml +++ b/src/qml/Component/Timeline/ReadMarkerDelegate.qml @@ -70,6 +70,7 @@ QQC2.ItemDelegate { } background: Kirigami.ShadowedRectangle { + id: readMarkerBackground color: { if (readMarkerDelegate.isTemporaryHighlighted) { return Kirigami.Theme.positiveBackgroundColor @@ -85,7 +86,7 @@ QQC2.ItemDelegate { border.width: 1 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} } } }