Animate SidePane width only when collapsing

To avoid RoomHeaderButton collapse bug due to the "slowly" changing
Chat width.
This commit is contained in:
miruka
2019-05-12 16:13:00 -04:00
parent 46d5704eb6
commit b9b6d2fcb3
4 changed files with 18 additions and 12 deletions

View File

@@ -78,7 +78,7 @@ HRectangle {
}
Behavior on Layout.maximumWidth {
NumberAnimation { id: buttonsAnimation; duration: 150 }
NumberAnimation { id: buttonsAnimation; duration: 120 }
}
}
}

View File

@@ -21,7 +21,7 @@ Column {
bottomMargin: topMargin
Behavior on spacing {
NumberAnimation { duration: 150 }
NumberAnimation { duration: 120 }
}
model: chatPage.roomInfo.members