turn scrollPastEnd off by default
This commit is contained in:
parent
a25a685d11
commit
e3d14ab620
1 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue