1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-03 11:02:08 -04:00

optimize some animations

This commit is contained in:
bbedward
2026-05-01 18:37:17 -04:00
committed by purian23
parent 7c9ca60e44
commit 386a2d0469
12 changed files with 79 additions and 110 deletions

View File

@@ -61,26 +61,22 @@ Item {
border.color: Theme.primary
opacity: 0
SequentialAnimation on opacity {
OpacityAnimator on opacity {
running: root.isRunning
loops: Animation.Infinite
NumberAnimation {
from: 0.8
to: 0
duration: 1500
easing.type: Easing.OutQuad
}
from: 0.8
to: 0
duration: 1500
easing.type: Easing.OutQuad
}
SequentialAnimation on scale {
ScaleAnimator on scale {
running: root.isRunning
loops: Animation.Infinite
NumberAnimation {
from: 0.5
to: 1.5
duration: 1500
easing.type: Easing.OutQuad
}
from: 0.5
to: 1.5
duration: 1500
easing.type: Easing.OutQuad
}
}
@@ -95,26 +91,22 @@ Item {
border.color: Theme.secondary
opacity: 0
SequentialAnimation on opacity {
OpacityAnimator on opacity {
running: root.isRunning
loops: Animation.Infinite
NumberAnimation {
from: 0.8
to: 0
duration: 1500
easing.type: Easing.OutQuad
}
from: 0.8
to: 0
duration: 1500
easing.type: Easing.OutQuad
}
SequentialAnimation on scale {
ScaleAnimator on scale {
running: root.isRunning
loops: Animation.Infinite
NumberAnimation {
from: 0.3
to: 1.3
duration: 1500
easing.type: Easing.OutQuad
}
from: 0.3
to: 1.3
duration: 1500
easing.type: Easing.OutQuad
}
}