Disable animation on side pane
This commit is contained in:
parent
2b7da73333
commit
ed4204dfc8
|
@ -116,26 +116,8 @@ Item {
|
|||
sourceComponent: RoomPane {
|
||||
id: roomPane
|
||||
|
||||
readonly property alias appearAnimation: appearAnimation
|
||||
|
||||
referenceSizeParent: chat
|
||||
maximumSize: chat.width - theme.minimumSupportedWidth * 1.5
|
||||
|
||||
HNumberAnimation {
|
||||
id: appearAnimation
|
||||
target: roomPane.contentTranslation
|
||||
property: "x"
|
||||
from: -chat.width + roomPane.width
|
||||
to: 0
|
||||
easing.type: Easing.OutCirc
|
||||
factor: 2
|
||||
running: true
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: pageLoader
|
||||
onRecycled: roomPane.appearAnimation.restart()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user