HImage: don't load spinner while invisible
This commit is contained in:
parent
84a41e09e1
commit
88fb71ff34
|
@ -109,7 +109,11 @@ Image {
|
||||||
96 * theme.uiScale, Math.min(parent.width, parent.height) * 0.5,
|
96 * theme.uiScale, Math.min(parent.width, parent.height) * 0.5,
|
||||||
)
|
)
|
||||||
height: width
|
height: width
|
||||||
active: image.status === Image.Loading
|
active:
|
||||||
|
image.visible &&
|
||||||
|
image.opacity > 0.01 &&
|
||||||
|
image.status === Image.Loading
|
||||||
|
|
||||||
sourceComponent: HBusyIndicator {}
|
sourceComponent: HBusyIndicator {}
|
||||||
|
|
||||||
onProgressChanged:
|
onProgressChanged:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user