always collapse/expand tabs with animation, if animation effect is allowed
This commit is contained in:
parent
31fb56fd03
commit
79dc211f82
@ -4602,9 +4602,9 @@ TreeStyleTabBrowser.prototype = {
|
||||
if (
|
||||
!this.animationEnabled ||
|
||||
aJustNow ||
|
||||
this.collapseDuration < 1 ||
|
||||
this.collapseDuration < 1 // ||
|
||||
// !this.isVertical ||
|
||||
!this.canCollapseSubtree(this.getParentTab(aTab))
|
||||
// !this.canCollapseSubtree(this.getParentTab(aTab))
|
||||
) {
|
||||
if (aCollapsed)
|
||||
aTab.setAttribute(this.kCOLLAPSED_DONE, true);
|
||||
|
Loading…
Reference in New Issue
Block a user