スクロール位置が急に戻ってしまう問題についての対策が意味がないようだったので削除

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7153 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-06 11:15:24 +00:00
parent db5de24de9
commit 1f7b863e24

View File

@ -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;