@@ -107,10 +107,9 @@ Item {
107 // Find new contentY and effect.postionPx
107 // Find new contentY and effect.postionPx
108 var newContentY = itemY - openEffect.positionPx - categoryDelegate.verticalSpacing;
108 var newContentY = itemY - openEffect.positionPx - categoryDelegate.verticalSpacing;
110− // TODO ALBERT ESTO VA?
111 // Make sure the item is not covered by a header. Move the effect split down if necessary
110 // Make sure the item is not covered by a header. Move the effect split down if necessary
112 var headerHeight = pageHeader.height + categoryView.stickyHeaderHeight;
111 var headerHeight = pageHeader.height + categoryView.stickyHeaderHeight;
113− var effectAdjust = Math.max(effect.positionPx, headerHeight);
112+ var effectAdjust = Math.max(openEffect.positionPx, headerHeight);
115 // Make sure we don't overscroll the listview. If yes, adjust effect position
114 // Make sure we don't overscroll the listview. If yes, adjust effect position
116 if (newContentY < 0) {
115 if (newContentY < 0) {