popouts: fix anim when not shown
This commit is contained in:
parent
5948d581fd
commit
5d2f46082a
2 changed files with 6 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ Item {
|
|||
}
|
||||
|
||||
Behavior on implicitHeight {
|
||||
enabled: Popouts.hasCurrent
|
||||
|
||||
Anim {
|
||||
easing.bezierCurve: Appearance.anim.curves.emphasized
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue