on Linux, panel was never shown and click events out of panel was unexpectedly eaten
This commit is contained in:
parent
04c9515d24
commit
11b7baef1a
@ -136,7 +136,11 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide="
|
||||
|
||||
|
||||
#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;
|
||||
line-height: 0;
|
||||
margin: 0;
|
||||
@ -148,16 +152,6 @@ tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide="
|
||||
-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 */
|
||||
|
@ -151,10 +151,10 @@
|
||||
type="checkbox"
|
||||
autocheck="false"
|
||||
oncommand="TreeStyleTabService.toggleFixed(TreeStyleTabService.getTabBrowserFromChild(this));"/>
|
||||
|
||||
</menupopup>
|
||||
<tooltip id="treestyletab-full-tree-tooltip"/>
|
||||
<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();"/>
|
||||
</popupset>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user