Explorar o código

Don't fade in sychronously loaded images

Donald Carr %!s(int64=8) %!d(string=hai) anos
pai
achega
5d50277042
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      qml/common/ArtImage.qml

+ 1 - 0
qml/common/ArtImage.qml

@@ -31,6 +31,7 @@ Rectangle {
         sourceSize.width: globalVars.imageWidthOverride > 0 ? globalVars.imageWidthOverride : width
 
         Behavior on opacity {
+            enabled: image.asynchronous
             SequentialAnimation {
                 ScriptAction { script: root.effect !== undefined ? root.effect.scheduleUpdate() : undefined }
                 NumberAnimation { duration: 1000 }