summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-07 15:33:24 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-07 15:33:24 +1000
commit5d2f46082ada833a5a8b9f1288c70e6597d0fa82 (patch)
tree9b4328887bc73373f2b4f060ec8178d5e8802fc1
parentbar: fix workspaces interactions (diff)
downloadcaelestia-shell-5d2f46082ada833a5a8b9f1288c70e6597d0fa82.tar.gz
caelestia-shell-5d2f46082ada833a5a8b9f1288c70e6597d0fa82.tar.bz2
caelestia-shell-5d2f46082ada833a5a8b9f1288c70e6597d0fa82.zip
popouts: fix anim when not shown
-rw-r--r--modules/bar/popouts/Content.qml2
-rw-r--r--services/Popouts.qml4
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/bar/popouts/Content.qml b/modules/bar/popouts/Content.qml
index 6f0ec70..a3ddea4 100644
--- a/modules/bar/popouts/Content.qml
+++ b/modules/bar/popouts/Content.qml
@@ -70,6 +70,8 @@ Item {
}
Behavior on implicitHeight {
+ enabled: Popouts.hasCurrent
+
Anim {
easing.bezierCurve: Appearance.anim.curves.emphasized
}
diff --git a/services/Popouts.qml b/services/Popouts.qml
index b7ef5f8..fdd1480 100644
--- a/services/Popouts.qml
+++ b/services/Popouts.qml
@@ -5,11 +5,15 @@ import Quickshell
import QtQuick
Singleton {
+ id: root
+
property string currentName
property real currentCenter
property bool hasCurrent
Behavior on currentCenter {
+ enabled: root.hasCurrent
+
NumberAnimation {
duration: Appearance.anim.durations.normal
easing.type: Easing.BezierSpline