2
0
mirror of https://github.com/status-im/status-desktop.git synced 2025-02-17 09:08:49 +00:00
Iuri Matias 7927c99985 bug(@status-desktop): only run animations when they are visible to avoid cpu issues
chore(status-q): update status-q

bug(@status-desktop): only run animations when they are visible to avoid cpu issues

bump status-q
2022-06-28 11:23:38 -04:00

22 lines
360 B
QML

import QtQuick 2.13
import utils 1.0
import shared.panels 1.0
SVGImage {
id: loadingImg
source: Style.svg("loading")
width: 25
height: 25
fillMode: Image.Stretch
RotationAnimator {
target: loadingImg;
from: 0;
to: 360;
duration: 1200
running: visible
loops: Animation.Infinite
}
}