タブバーの透過設定の変更が反映されない問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2102 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-03-13 23:58:21 +00:00
parent ddfe795489
commit d16e133155

View File

@ -2773,7 +2773,8 @@ TreeStyleTabBrowser.prototype = {
0
)
);
if (this.mTabBrowser.getAttribute(this.kTRANSPARENT) != this.kTRANSPARENT_STYLE[this.kTRANSPARENT_NONE])
if (this.mTabBrowser.hasAttribute(this.kTRANSPARENT) &&
this.mTabBrowser.getAttribute(this.kTRANSPARENT) != this.kTRANSPARENT_STYLE[this.kTRANSPARENT_NONE])
this.drawTabbarCanvas();
else
this.clearTabbarCanvas();