turn scrollPastEnd off by default

This commit is contained in:
nightwing 2013-07-07 14:40:53 +04:00
commit e3d14ab620

View file

@ -1594,16 +1594,13 @@ config.defineOptions(VirtualRenderer.prototype, "renderer", {
},
scrollPastEnd: {
set: function(val) {
if (val == true)
val = 1;
else if (val == false)
val = 0;
val = +val || 0;
if (this.$scrollPastEnd == val)
return;
this.$scrollPastEnd = val;
this.$loop.schedule(this.CHANGE_SCROLL);
},
initialValue: 1,
initialValue: 0,
handlesSet: true
}
});