diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-30 14:10:48 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-30 14:10:48 +1000 |
| commit | efd09ae86eb5c089c5873c4dfb717af7b081d1fa (patch) | |
| tree | 19a28341714535f03244add078009d43f6618f92 /modules/bar/components/workspaces/Workspace.qml | |
| parent | bar: some workspaces optimisations (diff) | |
| download | caelestia-shell-efd09ae86eb5c089c5873c4dfb717af7b081d1fa.tar.gz caelestia-shell-efd09ae86eb5c089c5873c4dfb717af7b081d1fa.tar.bz2 caelestia-shell-efd09ae86eb5c089c5873c4dfb717af7b081d1fa.zip | |
bar: fix workspaces anims
Also fix hyprland undef error
Diffstat (limited to 'modules/bar/components/workspaces/Workspace.qml')
| -rw-r--r-- | modules/bar/components/workspaces/Workspace.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/bar/components/workspaces/Workspace.qml b/modules/bar/components/workspaces/Workspace.qml index c5d7475..53f7c59 100644 --- a/modules/bar/components/workspaces/Workspace.qml +++ b/modules/bar/components/workspaces/Workspace.qml @@ -15,6 +15,8 @@ Item { required property int groupOffset readonly property bool isWorkspace: true // Flag for finding workspace children + // Unanimated prop for others to use as reference + readonly property real size: childrenRect[vertical ? "height" : "width"] + (isOccupied ? Appearance.padding.normal : 0) readonly property int ws: groupOffset + index + 1 readonly property bool isOccupied: occupied[ws] ?? false |