|
@@ -73,8 +73,7 @@ Item {
|
|
interval: 1000*(settings.interval > 60 ? 60*(settings.interval-60) : settings.interval)*(Math.random()+1)
|
|
interval: 1000*(settings.interval > 60 ? 60*(settings.interval-60) : settings.interval)*(Math.random()+1)
|
|
onTriggered: {
|
|
onTriggered: {
|
|
if (pictureArray.length > 0) {
|
|
if (pictureArray.length > 0) {
|
|
- pictureArray.shift().detonate()
|
|
|
|
- d.itemCount--
|
|
|
|
|
|
+ pictureArray.shift().world = bullshitWorld
|
|
}
|
|
}
|
|
|
|
|
|
var colHeight = 0
|
|
var colHeight = 0
|
|
@@ -82,11 +81,12 @@ Item {
|
|
|
|
|
|
do {
|
|
do {
|
|
var item = pictureDelegate.createObject(column)
|
|
var item = pictureDelegate.createObject(column)
|
|
|
|
+ item.leftViewport.connect(function() { d.itemCount--; })
|
|
item.y = -colHeight - item.height
|
|
item.y = -colHeight - item.height
|
|
d.itemCount++
|
|
d.itemCount++
|
|
pictureArray.push(item)
|
|
pictureArray.push(item)
|
|
colHeight += item.height
|
|
colHeight += item.height
|
|
- } while (colHeight < root.height)
|
|
|
|
|
|
+ } while (colHeight < 1.5*root.height)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -100,7 +100,7 @@ Item {
|
|
Timer {
|
|
Timer {
|
|
id: settleTimer
|
|
id: settleTimer
|
|
running: false
|
|
running: false
|
|
- interval: 500
|
|
|
|
|
|
+ interval: 200
|
|
onTriggered: feedTimer.triggered()
|
|
onTriggered: feedTimer.triggered()
|
|
}
|
|
}
|
|
|
|
|