現在のタブを閉じた時、タブのフォーカス移動が起こった後に若干時間をおいて元のタブが閉じられるように見えていた問題を修正(処理順を入れ替えた)
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5552 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
451fd81141
commit
d1e35729a8
@ -1626,6 +1626,15 @@ TreeStyleTabBrowser.prototype = {
|
||||
nextFocusedTab = this.getNextFocusedTab(tab);
|
||||
}
|
||||
|
||||
if (indentModifiedTabs.length)
|
||||
this.updateTabsIndentWithDelay(indentModifiedTabs);
|
||||
this.checkTabsIndentOverflow();
|
||||
|
||||
for (var i in backupAttributes)
|
||||
{
|
||||
this.setTabValue(tab, i, backupAttributes[i]);
|
||||
}
|
||||
|
||||
if (b.selectedTab == tab) {
|
||||
this._focusChangedByCurrentTabRemove = true;
|
||||
if (
|
||||
@ -1636,15 +1645,6 @@ TreeStyleTabBrowser.prototype = {
|
||||
)
|
||||
b.selectedTab = nextFocusedTab;
|
||||
}
|
||||
|
||||
if (indentModifiedTabs.length)
|
||||
this.updateTabsIndentWithDelay(indentModifiedTabs);
|
||||
this.checkTabsIndentOverflow();
|
||||
|
||||
for (var i in backupAttributes)
|
||||
{
|
||||
this.setTabValue(tab, i, backupAttributes[i]);
|
||||
}
|
||||
},
|
||||
CLOSE_PARENT_BEHAVIOR_ESCALATE_FIRST : 3,
|
||||
CLOSE_PARENT_BEHAVIOR_ESCALATE_ALL : 0,
|
||||
|
Loading…
Reference in New Issue
Block a user