on Linux, panel was never shown and click events out of panel was unexpectedly eaten

This commit is contained in:
SHIMODA Hiroshi 2011-12-05 14:12:52 +09:00
parent 04c9515d24
commit 11b7baef1a
2 changed files with 6 additions and 12 deletions

View File

@ -136,7 +136,11 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide="
#treestyletab-autohide-content-area-screen { #treestyletab-autohide-content-area-screen {
background: transparent; /**
* don't make this completely transparent, because
* mousemove event never fire on 100% transparent panel!!
*/
background: rgba(0, 0, 0, 0.01);
border: 0 none; border: 0 none;
line-height: 0; line-height: 0;
margin: 0; margin: 0;
@ -148,16 +152,6 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide="
-moz-border-top-colors: none; -moz-border-top-colors: none;
} }
#treestyletab-autohide-content-area-screen[popup-shown="true"] {
/**
* don't make this completely transparent, because
* mousemove event never fire on 100% transparent panel!!
*/
background: rgba(0, 0, 0, 0.01);
-moz-transition: background-color 0.2s ease-out;
transition: background-color 0.2s ease-out;
}
/* vertical tab bar */ /* vertical tab bar */

View File

@ -151,10 +151,10 @@
type="checkbox" type="checkbox"
autocheck="false" autocheck="false"
oncommand="TreeStyleTabService.toggleFixed(TreeStyleTabService.getTabBrowserFromChild(this));"/> oncommand="TreeStyleTabService.toggleFixed(TreeStyleTabService.getTabBrowserFromChild(this));"/>
</menupopup> </menupopup>
<tooltip id="treestyletab-full-tree-tooltip"/> <tooltip id="treestyletab-full-tree-tooltip"/>
<panel id="treestyletab-autohide-content-area-screen" <panel id="treestyletab-autohide-content-area-screen"
onpopupshowing="if ('setConsumeRollupEvent' in this.popupBoxObject) this.popupBoxObject.setConsumeRollupEvent(Components.interfaces.nsIPopupBoxObject.ROLLUP_NO_CONSUME);"
onclick="this.hidePopup();"/> onclick="this.hidePopup();"/>
</popupset> </popupset>