summaryrefslogtreecommitdiff
path: root/bar
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-16 15:01:13 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-16 15:01:13 +0800
commita1037d32e377c388ed30ce9d4a5b02bc7b040362 (patch)
treed3c7068c7b568c2ba4e0fed1239c432edd27e3b0 /bar
parent0e0f7490e27e8c595a5c9a55d87e8b5fa318c3ed (diff)
timedate: alt switch animation
Diffstat (limited to 'bar')
-rw-r--r--bar/TimeDate.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/bar/TimeDate.qml b/bar/TimeDate.qml
index dddd71c..cf7a450 100644
--- a/bar/TimeDate.qml
+++ b/bar/TimeDate.qml
@@ -68,6 +68,16 @@ Item {
Item {
Layout.fillWidth: true
}
+ SequentialAnimation {
+ running: true
+ NumberAnimation {
+ target: parent
+ property: "opacity"
+ from: 0
+ to: 1
+ duration: General.animateDuration / 2
+ }
+ }
}
}
}
@@ -94,6 +104,16 @@ Item {
Item {
Layout.fillWidth: true
}
+ SequentialAnimation {
+ running: true
+ NumberAnimation {
+ target: parent
+ property: "opacity"
+ from: 0
+ to: 1
+ duration: General.animateDuration / 2
+ }
+ }
}
}
}