Disable animation on side pane

This commit is contained in:
Maze 2022-08-13 12:40:59 +02:00
parent 2b7da73333
commit ed4204dfc8

View File

@ -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()
}
}
}
}