From a1037d32e377c388ed30ce9d4a5b02bc7b040362 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 16 Jul 2025 15:01:13 +0800 Subject: timedate: alt switch animation --- bar/TimeDate.qml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'bar') 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 + } + } } } } -- cgit v1.2.3