mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 889597 - Hide panelUI by default to improve ts_paint, r=MattN,jaws
This commit is contained in:
parent
c108655d8a
commit
d9077cbb13
@ -6,6 +6,7 @@
|
||||
role="group"
|
||||
type="arrow"
|
||||
level="top"
|
||||
hidden="true"
|
||||
consumeoutsideclicks="true"
|
||||
noautofocus="true">
|
||||
<panelmultiview id="PanelUI-multiView" mainViewId="PanelUI-mainView">
|
||||
@ -73,6 +74,7 @@
|
||||
role="group"
|
||||
type="arrow"
|
||||
level="top"
|
||||
hidden="true"
|
||||
consumeoutsideclicks="true">
|
||||
<vbox id="widget-overflow-list">
|
||||
</vbox>
|
||||
|
@ -78,6 +78,7 @@ const PanelUI = {
|
||||
this.hide();
|
||||
} else if (this.panel.state == "closed") {
|
||||
this.ensureRegistered();
|
||||
this.panel.hidden = false;
|
||||
|
||||
let anchor = aEvent.target;
|
||||
let iconAnchor =
|
||||
|
@ -2097,6 +2097,7 @@ OverflowableToolbar.prototype = {
|
||||
this._panel.hidePopup();
|
||||
else {
|
||||
let doc = aEvent.target.ownerDocument;
|
||||
this._panel.hidden = false;
|
||||
let anchor = doc.getAnonymousElementByAttribute(this._chevron, "class", "toolbarbutton-icon");
|
||||
this._panel.openPopup(anchor || this._chevron, "bottomcenter topright");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user