mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
7927c99985
chore(status-q): update status-q bug(@status-desktop): only run animations when they are visible to avoid cpu issues bump status-q
22 lines
360 B
QML
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
|
|
}
|
|
}
|
|
|