mirror of
https://github.com/flutter/flutter
synced 2024-08-27 12:00:58 +00:00
Fix bad reference in city-list
TBR=esprehn BUG= Review URL: https://codereview.chromium.org/730283002
This commit is contained in:
parent
fd1e8ff53d
commit
1496dcfafa
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue