MemberView: no need for onAdd transition hack now

This commit is contained in:
miruka 2020-05-13 07:37:01 -04:00
parent 45790dc57c
commit 8e0c046cdb

View File

@ -13,21 +13,12 @@ HColumnLayout {
HListView { HListView {
id: memberList id: memberList
clip: true clip: true
add: null // See the XXX comment in HListView.qml
model: ModelStore.get(modelSyncId) model: ModelStore.get(modelSyncId)
delegate: MemberDelegate { delegate: MemberDelegate {
id: member id: member
width: memberList.width width: memberList.width
ListView.onAdd: ParallelAnimation {
HNumberAnimation {
target: member; property: "opacity"; from: 0; to: 1;
}
HNumberAnimation {
target: member; property: "scale"; from: 0; to: 1;
}
}
} }
Layout.fillWidth: true Layout.fillWidth: true