moment/harmonyqml/components/Base/HListView.qml
miruka 82edb4fc29 Fix HListView delegate height bug
Remove the populate transition animation, responsible for the glitch
where items overlap each others
2019-05-17 15:18:46 -04:00

25 lines
616 B
QML

import QtQuick 2.7
ListView {
property int duration: HStyle.animationDuration
add: Transition {
NumberAnimation { properties: "x,y"; from: 100; duration: duration }
}
move: Transition {
NumberAnimation { properties: "x,y"; duration: duration }
}
displaced: Transition {
NumberAnimation { properties: "x,y"; duration: duration }
}
remove: Transition {
ParallelAnimation {
NumberAnimation { property: "opacity"; to: 0; duration: duration }
NumberAnimation { properties: "x,y"; to: 100; duration: duration }
}
}
}