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
This commit is contained in:
Iuri Matias 2022-06-28 10:44:58 -04:00
parent 0bfc51d4a9
commit 7927c99985
6 changed files with 6 additions and 5 deletions

@ -1 +1 @@
Subproject commit 84c529d58d80f6cd26455db835f9f4ec2b7d2f76
Subproject commit 64d6beb4a0fa56f8507e16143878344e8f23c8a3

View File

@ -14,7 +14,7 @@ SVGImage {
from: 0;
to: 360;
duration: 1200
running: true
running: visible
loops: Animation.Infinite
}
}

View File

@ -34,7 +34,7 @@ StatusInput {
SequentialAnimation {
loops: Animation.Infinite
running: input.edit.cursorVisible
running: visible && input.edit.cursorVisible
PropertyAction {
target: cursor

View File

@ -56,7 +56,7 @@ Rectangle {
from: 0;
to: 360;
duration: 1200
running: true
running: visible
loops: Animation.Infinite
}

View File

@ -183,7 +183,7 @@ Item {
from: 0;
to: 360;
duration: 1200
running: root.icon.runAnimation
running: visible && root.icon.runAnimation
loops: Animation.Infinite
}
ColorOverlay {

View File

@ -172,6 +172,7 @@ Item {
SequentialAnimation {
id: messageFoundAnimation
running: visible
PauseAnimation {
duration: 600
}