Do not show ubuntuShape framed lazyimage when not requested
commit0ee4a1a2d7e1960c6e45eb70651e9117203784f8
authorAndrea Cimitan <andrea.cimitan@gmail.com>
dateWed 28 Oct 2015, 18:11 (11 years ago)
parent7d28a9e
qml/Components/LazyImage.qml+5−2
@@ -49,12 +49,15 @@ Item {
4949 }
5050 }
5151
52− UbuntuShape {
52+ Loader {
5353 id: placeholder
5454 objectName: "placeholder"
55− backgroundColor: "#22FFFFFF"
5655 anchors.fill: shape
56+ active: useUbuntuShape
5757 visible: opacity != 0
58+ sourceComponent: UbuntuShape {
59+ backgroundColor: "#22FFFFFF"
60+ }
5861
5962 ActivityIndicator {
6063 id: activity