suppress unexpected jumping of the tab bar more intelligently
This commit is contained in:
parent
585ab07c48
commit
07b0e15aaa
@ -2524,12 +2524,12 @@ TreeStyleTabBrowser.prototype = {
|
||||
}
|
||||
this.clearLastScrollPosition();
|
||||
|
||||
if (this.cancelingPerformingAutoScroll) return;
|
||||
if (this.cancelingPerformingAutoScroll)
|
||||
this.cancelingPerformingAutoScroll.cancel();
|
||||
|
||||
this.cancelingPerformingAutoScroll = true;
|
||||
var self = this;
|
||||
this.Deferred.wait(0.1).next(function() {
|
||||
self.cancelingPerformingAutoScroll = false;
|
||||
this.cancelingPerformingAutoScroll = this.Deferred.wait(0.3).next(function() {
|
||||
self.cancelingPerformingAutoScroll = null;
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user