fix: popout transition anim
This commit is contained in:
parent
b1380235eb
commit
eaa6aefa6c
2 changed files with 2 additions and 6 deletions
|
|
@ -14,8 +14,6 @@ Item {
|
|||
readonly property Popout currentPopout: content.children.find(c => c.shouldBeActive) ?? null
|
||||
readonly property Item current: currentPopout?.item ?? null
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
implicitWidth: (currentPopout?.implicitWidth ?? 0) + Appearance.padding.large * 2
|
||||
implicitHeight: (currentPopout?.implicitHeight ?? 0) + Appearance.padding.large * 2
|
||||
|
||||
|
|
@ -171,8 +169,7 @@ Item {
|
|||
required property string name
|
||||
readonly property bool shouldBeActive: root.popouts.currentName === name
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.right: parent.right
|
||||
anchors.centerIn: parent
|
||||
|
||||
opacity: 0
|
||||
scale: 0.8
|
||||
|
|
|
|||
|
|
@ -105,8 +105,7 @@ Item {
|
|||
id: content
|
||||
|
||||
shouldBeActive: root.hasCurrent && !root.detachedMode
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.fill: parent
|
||||
|
||||
sourceComponent: Content {
|
||||
popouts: popoutState
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue