This commit is contained in:
Damocles 2026-04-12 18:44:27 +02:00
parent 21f96dc68e
commit b06e3582ff
23 changed files with 597 additions and 197 deletions

View file

@ -57,17 +57,31 @@ M.BarSection {
id: countScale
origin.x: countLabel.width / 2
origin.y: countLabel.height / 2
xScale: 1; yScale: 1
xScale: 1
yScale: 1
}
SequentialAnimation {
id: popAnim
NumberAnimation { target: countScale; properties: "xScale,yScale"; to: 1.4; duration: 100; easing.type: Easing.OutQuad }
NumberAnimation { target: countScale; properties: "xScale,yScale"; to: 1.0; duration: 200; easing.type: Easing.OutElastic }
NumberAnimation {
target: countScale
properties: "xScale,yScale"
to: 1.4
duration: 100
easing.type: Easing.OutQuad
}
NumberAnimation {
target: countScale
properties: "xScale,yScale"
to: 1.0
duration: 200
easing.type: Easing.OutElastic
}
}
}
onCountChanged: if (count > 0) popAnim.start()
onCountChanged: if (count > 0)
popAnim.start()
TapHandler {
acceptedButtons: Qt.LeftButton