diff --git a/src/qml/danbooruimageview.qml b/src/qml/danbooruimageview.qml index 188e44c..716ca99 100644 --- a/src/qml/danbooruimageview.qml +++ b/src/qml/danbooruimageview.qml @@ -46,10 +46,12 @@ Rectangle { } onDownloadFinished: { + grid.opacity = 1 runningIndicator.running = false } onDownloadStarted: { + grid.opacity = 0.5 runningIndicator.running = true } @@ -124,6 +126,7 @@ Rectangle { iconName: "view-preview" visible: opacity > 0 opacity: 0 + tooltip: i18n("View in image viewer") anchors.top: parent.top anchors.left: parent.left @@ -152,6 +155,7 @@ Rectangle { iconName: "download" visible: opacity > 0 opacity: 0 + tooltip: i18n("Download image") anchors.bottom: parent.bottom anchors.left: parent.left @@ -237,6 +241,13 @@ Rectangle { NumberAnimation { property: "opacity"; from: 0; to: 1; duration: 250} } + Behavior on opacity { + + NumberAnimation { + duration: 200 + } + } + } }