Multiple Tab Handlerの仕様変更に追従
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1868 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
0a71c203a4
commit
c1d9a5e398
@ -1323,10 +1323,9 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
this.collapseExpandSubtree(tab, isSubTreeCollapsed);
|
this.collapseExpandSubtree(tab, isSubTreeCollapsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isDuplicated) {
|
if (isDuplicated) this.clearCachedIds();
|
||||||
this.clearCachedIds();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getDuplicatedId : function(aId)
|
getDuplicatedId : function(aId)
|
||||||
{
|
{
|
||||||
if (!(aId in this.duplicatedIdsHash))
|
if (!(aId in this.duplicatedIdsHash))
|
||||||
@ -1334,6 +1333,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
return this.duplicatedIdsHash[aId];
|
return this.duplicatedIdsHash[aId];
|
||||||
},
|
},
|
||||||
duplicatedIdsHash : {},
|
duplicatedIdsHash : {},
|
||||||
|
|
||||||
clearCachedIds : function()
|
clearCachedIds : function()
|
||||||
{
|
{
|
||||||
if (this.clearCachedIdsTimer) {
|
if (this.clearCachedIdsTimer) {
|
||||||
@ -1857,6 +1857,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
this.getNextVisibleTab(draggedTabs[0]) != aInfo.insertBefore
|
this.getNextVisibleTab(draggedTabs[0]) != aInfo.insertBefore
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
|
b.duplicatingSelectedTabs = aInfo.action & self.kACTION_DUPLICATE ? true : false ; // Multiple Tab Handler
|
||||||
b.movingSelectedTabs = true; // Multiple Tab Handler
|
b.movingSelectedTabs = true; // Multiple Tab Handler
|
||||||
|
|
||||||
var tab, newIndex;
|
var tab, newIndex;
|
||||||
@ -1887,6 +1888,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
this.attachTabsOnDrop(newRoots, aInfo.parent);
|
this.attachTabsOnDrop(newRoots, aInfo.parent);
|
||||||
|
|
||||||
b.movingSelectedTabs = false; // Multiple Tab Handler
|
b.movingSelectedTabs = false; // Multiple Tab Handler
|
||||||
|
b.duplicatingSelectedTabs = false; // Multiple Tab Handler
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -378,12 +378,13 @@ tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-stack > hbox:not(:last-ch
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-button {
|
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-button {
|
||||||
border-top: 1px solid;
|
-moz-appearance: none !important;
|
||||||
-moz-border-top-colors: ThreeDShadow;
|
border-top: 1px solid ThreeDShadow !important;
|
||||||
background: ThreeDFace;
|
-moz-border-top-colors: ThreeDShadow !important;
|
||||||
|
background: ThreeDFace !important;
|
||||||
}
|
}
|
||||||
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-button:hover {
|
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-button:hover {
|
||||||
background: ThreeDHighlight;
|
background: ThreeDHighlight !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-box,
|
tabbrowser[treestyletab-mode="vertical"] .tabs-alltabs-box,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user