extract PulseAnimation component from 3 modules

This commit is contained in:
Damocles 2026-04-24 09:04:09 +02:00
parent 8d76df6ef5
commit b5be146619
5 changed files with 29 additions and 60 deletions

View file

@ -55,19 +55,9 @@ Row {
shadowHorizontalOffset: 0
}
SequentialAnimation on opacity {
M.PulseAnimation on opacity {
running: root._videoCapture
loops: Animation.Infinite
NumberAnimation {
to: 0.4
duration: 600
easing.type: Easing.InOutQuad
}
NumberAnimation {
to: 1
duration: 600
easing.type: Easing.InOutQuad
}
halfDuration: 600
}
}
@ -89,19 +79,9 @@ Row {
shadowHorizontalOffset: 0
}
SequentialAnimation on opacity {
M.PulseAnimation on opacity {
running: root._audioIn
loops: Animation.Infinite
NumberAnimation {
to: 0.4
duration: 600
easing.type: Easing.InOutQuad
}
NumberAnimation {
to: 1
duration: 600
easing.type: Easing.InOutQuad
}
halfDuration: 600
}
}
}