diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-15 11:12:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-15 11:12:18 +0800 |
| commit | 30fefa06237102a88e4c6d16dc86689a93b7024b (patch) | |
| tree | bde335c061a1da5e91235a66da913bcefecca3a0 | |
| parent | ca1009140ec99fc20776d7f9ccf907a8a6179a3a (diff) | |
activewindow: faster animation
| -rw-r--r-- | bar/ActiveWindow.qml | 10 |
1 files 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 |
