summaryrefslogtreecommitdiff
path: root/src/controls/Private/ScrollViewHelper.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Private/ScrollViewHelper.qml')
-rw-r--r--src/controls/Private/ScrollViewHelper.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Private/ScrollViewHelper.qml b/src/controls/Private/ScrollViewHelper.qml
index 9e4f97e7..4841eace 100644
--- a/src/controls/Private/ScrollViewHelper.qml
+++ b/src/controls/Private/ScrollViewHelper.qml
@@ -73,10 +73,10 @@ Item {
function doLayout() {
if (!recursionGuard) {
recursionGuard = true
- scrollHelper.availableWidth = viewport.width
- scrollHelper.availableHeight = viewport.height
scrollHelper.contentWidth = flickableItem !== null ? flickableItem.contentWidth : 0
scrollHelper.contentHeight = flickableItem !== null ? flickableItem.contentHeight : 0
+ scrollHelper.availableWidth = viewport.width
+ scrollHelper.availableHeight = viewport.height
recursionGuard = false
}
}