Animate SidePane width only when collapsing
To avoid RoomHeaderButton collapse bug due to the "slowly" changing Chat width.
This commit is contained in:
@@ -78,7 +78,7 @@ HRectangle {
|
||||
}
|
||||
|
||||
Behavior on Layout.maximumWidth {
|
||||
NumberAnimation { id: buttonsAnimation; duration: 150 }
|
||||
NumberAnimation { id: buttonsAnimation; duration: 120 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ Column {
|
||||
bottomMargin: topMargin
|
||||
|
||||
Behavior on spacing {
|
||||
NumberAnimation { duration: 150 }
|
||||
NumberAnimation { duration: 120 }
|
||||
}
|
||||
|
||||
model: chatPage.roomInfo.members
|
||||
|
Reference in New Issue
Block a user