Add animation when switching between events.

This commit is contained in:
Black Hat
2019-05-06 21:26:46 +08:00
parent a79893900d
commit 676cf35c3f
3 changed files with 27 additions and 2 deletions

View File

@@ -140,6 +140,7 @@ ColumnLayout {
Avatar {
Layout.preferredWidth: 28
Layout.preferredHeight: 28
Layout.alignment: Qt.AlignTop
source: replyVisible ? replyAuthor.avatarMediaId : ""
hint: replyVisible ? replyAuthor.displayName : "H"
@@ -156,7 +157,7 @@ ColumnLayout {
Control {
Layout.fillWidth: true
padding: 4
padding: 0
background: RippleEffect {
onClicked: goToEvent(replyEventId)