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 (
|
if (
|
||||||
!this.animationEnabled ||
|
!this.animationEnabled ||
|
||||||
aJustNow ||
|
aJustNow ||
|
||||||
this.collapseDuration < 1 ||
|
this.collapseDuration < 1 // ||
|
||||||
// !this.isVertical ||
|
// !this.isVertical ||
|
||||||
!this.canCollapseSubtree(this.getParentTab(aTab))
|
// !this.canCollapseSubtree(this.getParentTab(aTab))
|
||||||
) {
|
) {
|
||||||
if (aCollapsed)
|
if (aCollapsed)
|
||||||
aTab.setAttribute(this.kCOLLAPSED_DONE, true);
|
aTab.setAttribute(this.kCOLLAPSED_DONE, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user