@@ -123,6 +123,14 @@ Item {
125 readonly property bool itemVisible: itemIndex == totalItems - 1 ? true : leftFoldingAreaProgress < 5 && rightFoldingAreaProgress < 5
125 readonly property bool itemVisible: itemIndex == totalItems - 1 ? true : leftFoldingAreaProgress < 5 && rightFoldingAreaProgress < 5
126+ readonly property real shadowOpacity: itemIndex == totalItems -1 ?
128+ : leftFoldingAreaProgress > 3 ?
129+ linearAnimation(3, 3.5, 1, 0, leftFoldingAreaProgress)
130+ : rightFoldingAreaProgress > 3 ?
131+ linearAnimation(3, 3.5, 1, 0, rightFoldingAreaProgress)
127 // Helpers
135 // Helpers
128 function linearAnimation(startProgress, endProgress, startValue, endValue, progress) {
136 function linearAnimation(startProgress, endProgress, startValue, endValue, progress) {