summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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