diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-14 19:17:34 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-14 19:17:36 +0800 |
| commit | cdb3bc858e3d1cf535b64611744b4adb1e3621a6 (patch) | |
| tree | 3f4dd53a77827947abbbd0242de1c3662fa539ae | |
| parent | 49eef7abbfbca9f4a36870b226d5c70086f571be (diff) | |
anim
| -rw-r--r-- | bar/Workspace.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bar/Workspace.qml b/bar/Workspace.qml index ccfcd57..c0f5b25 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -54,6 +54,19 @@ Item { color: st.isOccupied ? Colors.alt : Colors.foreground opacity: st.isActive && st.isOccupied ? Bar.workspaceActiveOpacity : st.isOccupied ? Bar.workspaceOpacity : Bar.workspaceEmptyOpacity + + Behavior on opacity { + NumberAnimation { + duration: 200 + easing.type: Easing.InOutQuad + } + } + Behavior on implicitWidth { + NumberAnimation { + duration: 200 + easing.type: Easing.InOutQuad + } + } } } } |
