「自動で隠す」が有効な時、タブバーの幅を変えられなくなっていたのを修正(いつからかのregression)
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4170 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
a2f74e4e57
commit
9676807946
@ -102,7 +102,6 @@ tabbrowser[treestyletab-mode="multirow"] .tabbrowser-tab {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
tabbrowser[treestyletab-tabbar-autohide][treestyletab-tabbar-transparent] .tabs-stack > *:first-child > :not(html|canvas),
|
tabbrowser[treestyletab-tabbar-autohide][treestyletab-tabbar-transparent] .tabs-stack > *:first-child > :not(html|canvas),
|
||||||
tabbrowser[treestyletab-tabbar-resizing]:not([treestyletab-tabbar-transparent]) .tabs-stack > *:first-child > html|canvas,
|
|
||||||
tabbrowser[treestyletab-tabbar-resizing] .tabs-stack > *:first-child > html|canvas {
|
tabbrowser[treestyletab-tabbar-resizing] .tabs-stack > *:first-child > html|canvas {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
@ -727,6 +727,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
if (!splitter) {
|
if (!splitter) {
|
||||||
splitter = document.createElement('splitter');
|
splitter = document.createElement('splitter');
|
||||||
splitter.setAttribute('class', this.kSPLITTER);
|
splitter.setAttribute('class', this.kSPLITTER);
|
||||||
|
splitter.addEventListener('mousedown', this, true);
|
||||||
splitter.setAttribute('onmouseup', 'TreeStyleTabService.onTabbarResized(event);');
|
splitter.setAttribute('onmouseup', 'TreeStyleTabService.onTabbarResized(event);');
|
||||||
splitter.setAttribute('state', 'open');
|
splitter.setAttribute('state', 'open');
|
||||||
splitter.appendChild(document.createElement('grippy'));
|
splitter.appendChild(document.createElement('grippy'));
|
||||||
@ -1196,11 +1197,11 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
}
|
}
|
||||||
if (
|
if (
|
||||||
!this.tabbarResizing &&
|
!this.tabbarResizing &&
|
||||||
aEvent.originalTarget &&
|
this.evaluateXPath(
|
||||||
(
|
'ancestor-or-self::*[@class="'+this.kSPLITTER+'"]',
|
||||||
aEvent.originalTarget.getAttribute('class') == this.kSPLITTER ||
|
aEvent.originalTaret || aEvent.target,
|
||||||
aEvent.originalTarget.parentNode.getAttribute('class') == this.kSPLITTER
|
XPathResult.BOOLEAN_TYPE
|
||||||
)
|
).booleanValue
|
||||||
) {
|
) {
|
||||||
this.tabbarResizing = true;
|
this.tabbarResizing = true;
|
||||||
this.clearTabbarCanvas();
|
this.clearTabbarCanvas();
|
||||||
|
Loading…
Reference in New Issue
Block a user