Procházet zdrojové kódy

Allow transition to be configured

Donald Carr před 8 roky
rodič
revize
e52258ae91
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      qml/views/reel/Reel.qml

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

@@ -14,6 +14,7 @@ View {
     Settings {
         id: reelSettings
         category: "Reel"
+        property bool deathTransition: false
         property int deathPeriod: 10000
         property real restingVelocity: 4
         property real velocityAccelIncrements: 0.3
@@ -40,7 +41,7 @@ View {
             }
             var col = columnArray[globalSettings.columnCount - 1]
             priorImage = col.imageArray.shift()
-            priorImage.bowOut()
+            reelSettings.deathTransition && priorImage.bowOut()
         }
 
         NumberAnimation on t { from: 0; to: 1; duration: 1000; loops: -1 }