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:
parent
0bfc51d4a9
commit
7927c99985
|
@ -1 +1 @@
|
|||
Subproject commit 84c529d58d80f6cd26455db835f9f4ec2b7d2f76
|
||||
Subproject commit 64d6beb4a0fa56f8507e16143878344e8f23c8a3
|
|
@ -14,7 +14,7 @@ SVGImage {
|
|||
from: 0;
|
||||
to: 360;
|
||||
duration: 1200
|
||||
running: true
|
||||
running: visible
|
||||
loops: Animation.Infinite
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ StatusInput {
|
|||
|
||||
SequentialAnimation {
|
||||
loops: Animation.Infinite
|
||||
running: input.edit.cursorVisible
|
||||
running: visible && input.edit.cursorVisible
|
||||
|
||||
PropertyAction {
|
||||
target: cursor
|
||||
|
|
|
@ -56,7 +56,7 @@ Rectangle {
|
|||
from: 0;
|
||||
to: 360;
|
||||
duration: 1200
|
||||
running: true
|
||||
running: visible
|
||||
loops: Animation.Infinite
|
||||
}
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ Item {
|
|||
from: 0;
|
||||
to: 360;
|
||||
duration: 1200
|
||||
running: root.icon.runAnimation
|
||||
running: visible && root.icon.runAnimation
|
||||
loops: Animation.Infinite
|
||||
}
|
||||
ColorOverlay {
|
||||
|
|
|
@ -172,6 +172,7 @@ Item {
|
|||
|
||||
SequentialAnimation {
|
||||
id: messageFoundAnimation
|
||||
running: visible
|
||||
PauseAnimation {
|
||||
duration: 600
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue