Merge branch 'master' into reviveContactSync

This commit is contained in:
Sebastian Wolf 2021-09-28 21:33:03 +02:00
commit 7046d1dc0b
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -32,7 +32,7 @@ Item {
states: [ states: [
State { State {
when: area.expanded when: area.expanded
PropertyChanges { target: image; rotation: -90 } PropertyChanges { target: image; rotation: 90 }
PropertyChanges { target: content; height: content.implicitHeight + Theme.paddingLarge; opacity: 1.0 } PropertyChanges { target: content; height: content.implicitHeight + Theme.paddingLarge; opacity: 1.0 }
} }
] ]
@ -40,6 +40,7 @@ Item {
to: "*" to: "*"
enabled: area.parent.animate enabled: area.parent.animate
NumberAnimation { target: content; properties: "height, opacity"; duration: 200} NumberAnimation { target: content; properties: "height, opacity"; duration: 200}
NumberAnimation { target: image; properties: "rotation"; duration: 200}
} }
Connections { Connections {
target: area.parent target: area.parent
@ -90,8 +91,8 @@ Item {
} }
width: visible ? Theme.iconSizeMedium : 0 width: visible ? Theme.iconSizeMedium : 0
highlighted: parent.highlighted highlighted: parent.highlighted
source: "image://theme/icon-m-right" source: "image://theme/icon-m-left"
rotation: 90 rotation: -90
} }
} }
Loader { Loader {