add comment

This commit is contained in:
Piro / SHIMODA Hiroshi 2012-01-28 04:48:21 +09:00
parent 43b22f1e22
commit ddf539ae5f

View File

@ -2566,6 +2566,12 @@ TreeStyleTabBrowser.prototype = {
this.updateTabCollapsed(tab, true, true);
let self = this;
this.updateTabCollapsed(tab, false, this.windowService.restoringTree, function() {
/**
* When the system is too slow, the animation can start after
* smooth scrolling is finished. However, the smooth scrolling
* should be started together with the start of the animation
* effect.
*/
self.scrollToNewTab(tab);
});
}