Explorar o código

Reel: Animate columns back to front

Donald Carr %!s(int64=8) %!d(string=hai) anos
pai
achega
129e694df0
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      qml/views/reel/Reel.qml

+ 3 - 1
qml/views/reel/Reel.qml

@@ -31,7 +31,9 @@ View {
         property real columnWidth: root.width*globalUtil.columnWidthRatio(d.columnRatio, globalSettings.columnCount)
 
         function animationStep() {
-            columnArray.forEach(function(column) { column.animationStep(); })
+            for(var i = columnArray.length - 1; i >= 0; i--) {
+                columnArray[i].animationStep()
+            }
         }
 
         function killLastImage() {