diff options
Diffstat (limited to 'examples/declarative/snow')
-rw-r--r-- | examples/declarative/snow/ImageBatch.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml index 8aa4bb2..edf120e 100644 --- a/examples/declarative/snow/ImageBatch.qml +++ b/examples/declarative/snow/ImageBatch.qml @@ -42,8 +42,8 @@ GridView { width: MyGrid.imageWidth; height: MyGrid.imageHeight; Image { id: Image; source: url; fillMode: "PreserveAspect"; smooth: true; anchors.fill: parent; - opacity: (status == 0)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } } - Loading { anchors.centerIn: parent; visible: Image.status } + opacity: (status == 1)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } } + Loading { anchors.centerIn: parent; visible: Image.status!=1 } states: State { name: "selected" |