From 88fb71ff34dac273e2e8f1af3482ab8e5514acf1 Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 18 Jul 2020 23:44:24 -0400 Subject: [PATCH] HImage: don't load spinner while invisible --- src/gui/Base/HImage.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/Base/HImage.qml b/src/gui/Base/HImage.qml index 8134ceeb..62f8d372 100644 --- a/src/gui/Base/HImage.qml +++ b/src/gui/Base/HImage.qml @@ -109,7 +109,11 @@ Image { 96 * theme.uiScale, Math.min(parent.width, parent.height) * 0.5, ) height: width - active: image.status === Image.Loading + active: + image.visible && + image.opacity > 0.01 && + image.status === Image.Loading + sourceComponent: HBusyIndicator {} onProgressChanged: