Minefieldでタブの透明度が1で固定されてしまう問題を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7029 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
be9d2059d0
commit
2560693e97
@ -2009,9 +2009,9 @@ TreeStyleTabBrowser.prototype = {
|
||||
this.multipleCount++;
|
||||
}
|
||||
|
||||
if (this.animationEnabled) {
|
||||
if (this.animationEnabled && !this.restoringTree) {
|
||||
this.updateTabCollapsed(tab, true, true);
|
||||
this.updateTabCollapsed(tab, false, this.restoringTree);
|
||||
this.updateTabCollapsed(tab, false);
|
||||
}
|
||||
|
||||
if (this.readiedToOpenDivertedTab) {
|
||||
@ -4346,14 +4346,12 @@ TreeStyleTabBrowser.prototype = {
|
||||
if (aTime >= aDuration || stopAnimation) {
|
||||
delete aTab.__treestyletab__updateTabCollapsedTask;
|
||||
if (aCollapsed) aTab.setAttribute(self.kCOLLAPSED_DONE, true);
|
||||
if (!CSSTransitionEnabled) {
|
||||
aTab.setAttribute(
|
||||
'style',
|
||||
aTab.getAttribute('style')
|
||||
.replace(self.collapseRulesRegExp, '')
|
||||
.replace(self.kOPACITY_RULE_REGEXP, '')
|
||||
);
|
||||
}
|
||||
aTab.setAttribute(
|
||||
'style',
|
||||
aTab.getAttribute('style')
|
||||
.replace(self.collapseRulesRegExp, '')
|
||||
.replace(self.kOPACITY_RULE_REGEXP, '')
|
||||
);
|
||||
aTab.removeAttribute(offsetAttr);
|
||||
|
||||
maxMargin = null;
|
||||
|
Loading…
Reference in New Issue
Block a user