ルートタブ直下の子タブを閉じた時、その子タブのインデントが一瞬0になっていた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4614 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-06-27 00:37:39 +00:00
parent 8435f7fb19
commit 106570cf9d

View File

@ -2819,7 +2819,8 @@ TreeStyleTabBrowser.prototype = {
this.setTabValue(aParent, this.kCHILDREN, children.join('|'));
this.setTabValue(aChild, this.kPARENT, aParent.getAttribute(this.kID));
this.updateTabsCount(aParent);
if (shouldInheritIndent) this.inheritTabIndent(aChild, aParent);
if (shouldInheritIndent && !aInfo.dontUpdateIndent)
this.inheritTabIndent(aChild, aParent);
if (newIndex > aChild._tPos) newIndex--;
this.moveTabSubTreeTo(aChild, newIndex);