スクロール位置が急に戻ってしまう問題についての対策が意味がないようだったので削除
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7153 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
db5de24de9
commit
1f7b863e24
@ -4582,10 +4582,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
var self = this;
|
var self = this;
|
||||||
this.smoothScrollTask = function(aTime, aBeginning, aChange, aDuration) {
|
this.smoothScrollTask = function(aTime, aBeginning, aChange, aDuration) {
|
||||||
var scrollBoxObject = self.scrollBoxObject;
|
var scrollBoxObject = self.scrollBoxObject;
|
||||||
if (
|
if (aTime >= aDuration) {
|
||||||
aTime >= aDuration ||
|
|
||||||
(arrowscrollbox && arrowscrollbox._isScrolling != 0) // cancel by manual scrolling
|
|
||||||
) {
|
|
||||||
scrollBoxObject.scrollTo(aEndX, aEndY);
|
scrollBoxObject.scrollTo(aEndX, aEndY);
|
||||||
|
|
||||||
b = null;
|
b = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user