mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
components/mobileshell: resize flickables
This commit is contained in:
parent
12e94a1f8f
commit
238d8a78cf
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue