From 30fefa06237102a88e4c6d16dc86689a93b7024b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 15 Jul 2025 11:12:18 +0800 Subject: activewindow: faster animation --- bar/ActiveWindow.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bar/ActiveWindow.qml b/bar/ActiveWindow.qml index 405643c..8b6cdd6 100644 --- a/bar/ActiveWindow.qml +++ b/bar/ActiveWindow.qml @@ -50,7 +50,7 @@ Rectangle { opacity: root.activated ? 1 : 0 Behavior on opacity { NumberAnimation { - duration: General.animateDuration / 2.5 + duration: General.animateDuration / 4 } } Layout.preferredWidth: Bar.appIconSize @@ -67,7 +67,7 @@ Rectangle { opacity: root.activated ? 1 : 0 Behavior on opacity { NumberAnimation { - duration: General.animateDuration / 2.5 + duration: General.animateDuration / 4 } } } @@ -77,7 +77,7 @@ Rectangle { Behavior on opacity { NumberAnimation { - duration: General.animateDuration / 2.5 + duration: General.animateDuration / 4 } } @@ -97,7 +97,7 @@ Rectangle { target: icon property: "opacity" to: 0 - duration: General.animateDuration / 3 + duration: General.animateDuration / 4 } ScriptAction { script: icon.source = root.icon @@ -106,7 +106,7 @@ Rectangle { target: icon property: "opacity" to: 1 - duration: General.animateDuration / 3 + duration: General.animateDuration / 4 } ScriptAction { script: icon.source = root.icon -- cgit v1.2.3