Disable animation for temporary modification of tree

This commit is contained in:
YUKI Hiroshi 2016-02-12 19:26:26 +09:00
parent b4f153d083
commit 7480757a0f

View File

@ -5770,10 +5770,13 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, {
let groupTab = b.addTab(uri);
if(parentTab) {
this.attachTabTo(groupTab, parentTab, {
insertBefore : aTab
insertBefore : aTab,
dontAnimate : true
});
}
this.attachTabTo(aTab, groupTab);
this.attachTabTo(aTab, groupTab, {
dontAnimate : true
});
parentTab = groupTab;
aInfo.behavior = this.kCLOSE_PARENT_BEHAVIOR_PROMOTE_ALL_CHILDREN;
}