Index: sky/examples/city-list/city-list.sky |
diff --git a/sky/examples/city-list/city-list.sky b/sky/examples/city-list/city-list.sky |
index 7d51c7efea461eebc7c38d7d913dc275e86f52aa..92b3aa57598cb24b9ee237e58bf7ab864d776796 100644 |
--- a/sky/examples/city-list/city-list.sky |
+++ b/sky/examples/city-list/city-list.sky |
@@ -479,7 +479,7 @@ SkyElement({ |
this.drawTop -= height; |
var tile = targetBottom < this.drawTop ? |
- new Tile(datum, null, viewType, -1) : // off-screen |
+ new Tile(datum, null, datum.viewType, -1) : // off-screen |
this.checkoutTile(type, datum, this.drawTop); |
this.firstItem--; |
@@ -497,7 +497,7 @@ SkyElement({ |
this.drawBottom += height; |
var tile = targetTop > this.drawBottom ? |
- new Tile(datum, null, viewType, -1) : // off-screen |
+ new Tile(datum, null, datum.viewType, -1) : // off-screen |
this.checkoutTile(type, datum, this.drawBottom - height); |
tiles.push(tile); |