Merge pull request #246 from monich/placeholderImage

Fixed invalid reference
This commit is contained in:
Sebastian Wolf 2020-12-21 23:33:04 +01:00 committed by GitHub
commit c10819b12e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,7 +153,7 @@ Item {
asynchronous: true asynchronous: true
visible: status === Image.Ready ? true : false visible: status === Image.Ready ? true : false
layer.enabled: videoMessageComponent.highlighted layer.enabled: videoMessageComponent.highlighted
layer.effect: PressEffect { source: singleImage } layer.effect: PressEffect { source: placeholderImage }
} }
BackgroundImage { BackgroundImage {
@ -161,7 +161,6 @@ Item {
} }
Rectangle { Rectangle {
id: placeholderBackground
color: "black" color: "black"
opacity: 0.3 opacity: 0.3
height: parent.height height: parent.height
@ -241,7 +240,6 @@ Item {
} }
Rectangle { Rectangle {
id: videoErrorShade
width: parent.width width: parent.width
height: parent.height height: parent.height
color: "lightgrey" color: "lightgrey"