fix volume panel disappearing: use animateHeight, remove inner height animation
This commit is contained in:
parent
8eaf64eac6
commit
8c915605f2
1 changed files with 1 additions and 10 deletions
|
|
@ -107,6 +107,7 @@ M.BarSection {
|
|||
accentColor: root.accentColor
|
||||
panelNamespace: "nova-volume"
|
||||
contentWidth: 220
|
||||
animateHeight: true
|
||||
|
||||
// Compact: slider row
|
||||
Item {
|
||||
|
|
@ -230,16 +231,6 @@ M.BarSection {
|
|||
id: deviceList
|
||||
width: parent.width
|
||||
visible: root._expanded
|
||||
clip: true
|
||||
|
||||
property real _targetHeight: root._expanded ? implicitHeight : 0
|
||||
height: _targetHeight
|
||||
Behavior on height {
|
||||
NumberAnimation {
|
||||
duration: 200
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
|
||||
// Separator
|
||||
Rectangle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue