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: { scrollPastEnd: {
set: function(val) { set: function(val) {
if (val == true) val = +val || 0;
val = 1;
else if (val == false)
val = 0;
if (this.$scrollPastEnd == val) if (this.$scrollPastEnd == val)
return; return;
this.$scrollPastEnd = val; this.$scrollPastEnd = val;
this.$loop.schedule(this.CHANGE_SCROLL); this.$loop.schedule(this.CHANGE_SCROLL);
}, },
initialValue: 1, initialValue: 0,
handlesSet: true handlesSet: true
} }
}); });