popouts: fix anim when not shown

This commit is contained in:
2 * r + 2 * t 2025-06-07 15:33:24 +10:00
parent 5948d581fd
commit 5d2f46082a
2 changed files with 6 additions and 0 deletions

View file

@ -70,6 +70,8 @@ Item {
}
Behavior on implicitHeight {
enabled: Popouts.hasCurrent
Anim {
easing.bezierCurve: Appearance.anim.curves.emphasized
}

View file

@ -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