瀏覽代碼

Simplify reel logic

Donald Carr 8 年之前
父節點
當前提交
33d72f0703
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      qml/reel/Reel.qml

+ 1 - 3
qml/reel/Reel.qml

@@ -86,9 +86,7 @@ View {
 
                     if (image.y > root.height) {
                         imageArray.shift()
-                        if (!lastColumn) {
-                            columnArray[columnIndex+1].addImage(image)
-                        }
+                        columnArray[columnIndex+1].addImage(image)
                     } else if (( lastColumn || !columnArray[columnIndex+1].receptive()) && prospectiveY >= restingY) {
                         image.y = restingY
                         if (lastColumn) {