effects/desktopgrid: Fix panel opacity animation during transition
It did fade back in, but at the beginning of animation it used to just instantly disappear. FIXED-IN: 5.25.5 5.26
This commit is contained in:
parent
76fbffb40b
commit
b6f6e7f15a
2 changed files with 8 additions and 8 deletions
|
@ -73,13 +73,6 @@ FocusScope {
|
|||
height: model.client.height
|
||||
z: model.client.stackingOrder
|
||||
opacity: model.client.dock ? desktopView.panelOpacity : 1
|
||||
Behavior on opacity {
|
||||
enabled: !container.effect.gestureInProgress
|
||||
OpacityAnimator {
|
||||
duration: container.effect.animationDuration
|
||||
easing.type: Easing.InOutCubic
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@ Rectangle {
|
|||
|
||||
property Item currentItem
|
||||
readonly property real targetScale : 1 / Math.max(rows, columns)
|
||||
property real panelOpacity
|
||||
property real panelOpacity: 1
|
||||
|
||||
Behavior on x {
|
||||
enabled: !container.effect.gestureInProgress
|
||||
|
@ -178,6 +178,13 @@ Rectangle {
|
|||
easing.type: Easing.InOutCubic
|
||||
}
|
||||
}
|
||||
Behavior on panelOpacity {
|
||||
enabled: !container.effect.gestureInProgress
|
||||
NumberAnimation {
|
||||
duration: container.effect.animationDuration
|
||||
easing.type: Easing.InOutCubic
|
||||
}
|
||||
}
|
||||
|
||||
width: parent.width * columns
|
||||
height: parent.height * rows
|
||||
|
|
Loading…
Reference in a new issue