diff --git a/src/qml/danbooruimageview.qml b/src/qml/danbooruimageview.qml index 4bdc24a..45993e8 100644 --- a/src/qml/danbooruimageview.qml +++ b/src/qml/danbooruimageview.qml @@ -61,6 +61,7 @@ Rectangle { anchors.fill: parent QPixmapItem { + id: pixItem pixmap: thumbPix anchors.horizontalCenter: parent.horizontalCenter @@ -77,7 +78,6 @@ Rectangle { hoverEnabled: true onClicked: { grid.currentIndex = index - console.log(fileUrl) } onEntered: { @@ -197,10 +197,14 @@ Rectangle { Component.onCompleted: currentIndex = -1 onAtYEndChanged: { if (grid.atYEnd) { - // danbooruService.getPostList(2, "", 10) + danbooruService.getPostList(2, "", 10) } } + add: Transition { + NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 250} + } + } }