Bug #7043 » 0001-Track-count-of-scrollToPending-only-process-last.patch
src/js/WTableView.js | ||
---|---|---|
}
|
||
var scrollX1 = 0, scrollX2 = 0, scrollY1 = 0, scrollY2 = 0;
|
||
var scrollToPending = false;
|
||
var scrollToPending = 0;
|
||
/*
|
||
* We need to remember this for when going through a hide()
|
||
... | ... | |
};
|
||
this.setScrollToPending = function() {
|
||
scrollToPending = true;
|
||
scrollToPending += 1;
|
||
};
|
||
this.scrollToPx = function(x, y) {
|
||
... | ... | |
};
|
||
this.scrollTo = function(x, y, hint) {
|
||
scrollToPending = false;
|
||
if (scrollToPending > 0)
|
||
scrollToPending -= 1;
|
||
if (y != -1) {
|
||
var top = contentsContainer.scrollTop,
|
||
height = contentsContainer.clientHeight;
|
- « Previous
- 1
- 2
- Next »