components/mobileshell: resize flickables

This commit is contained in:
Yari Polla 2023-03-20 12:34:18 +01:00
parent 12e94a1f8f
commit 238d8a78cf
2 changed files with 2 additions and 3 deletions

View file

@ -234,8 +234,7 @@ Item {
anchors.fill: parent
contentWidth: root.width
contentHeight: root.height + 999999
contentY: contentHeight / 2
contentHeight: root.height * 2
// if the recent root.offset change was due to this flickable
property bool offsetChangedDueToContentY: false

View file

@ -94,7 +94,7 @@ Item {
anchors.leftMargin: root.leftMargin
anchors.rightMargin: root.rightMargin
contentHeight: flickable.height + root.closedContentY + 999999
contentHeight: flickable.height + root.closedContentY
contentY: root.closedContentY
property real oldContentY: contentY
property bool opening: false