informational tabでサムネイルを表示した状態の時、タブを追加する時のアニメーションがおかしくなっていたのを修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4422 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
0da9a6c640
commit
420e504f20
@ -3219,13 +3219,20 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
|
|
||||||
var maxMargin;
|
var maxMargin;
|
||||||
var offsetAttr;
|
var offsetAttr;
|
||||||
if (this.isVertical) {
|
let (firstTab) {
|
||||||
maxMargin = this.getFirstTab(this.mTabBrowser).boxObject.height;
|
firstTab = this.getFirstTab(this.mTabBrowser);
|
||||||
offsetAttr = this.kY_OFFSET;
|
if (this.isVertical) {
|
||||||
}
|
maxMargin = firstTab.boxObject.height;
|
||||||
else {
|
offsetAttr = this.kY_OFFSET;
|
||||||
maxMargin = this.getFirstTab(this.mTabBrowser).boxObject.width;
|
if (firstTab.style.height)
|
||||||
offsetAttr = this.kX_OFFSET;
|
aTab.style.height = firstTab.style.height;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
maxMargin = firstTab.boxObject.width;
|
||||||
|
offsetAttr = this.kX_OFFSET;
|
||||||
|
if (firstTab.style.width)
|
||||||
|
aTab.style.width = firstTab.style.width;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var startMargin, endMargin, startOpacity, endOpacity;
|
var startMargin, endMargin, startOpacity, endOpacity;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user