Skip to content

Commit 590ba6d

Browse files
Jai-JAPmr-cheffy
andauthored
Finally fix positioning of popups (#8532)
Co-authored-by: mr. m <[email protected]>
1 parent 4aa215e commit 590ba6d

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

src/browser/base/content/browser-addons-js.patch

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,35 @@
11
diff --git a/browser/base/content/browser-addons.js b/browser/base/content/browser-addons.js
2-
index 992d07daaef1abc4554a43aa654888f66963c575..73e620b70b7ed14e9d140e875c2cd5f5ac31456b 100644
2+
index 73593191936cc345ee8e2c28cb251dc13f4c2fd4..e6c459c1ebc60a1f3930a55e212570f696bf07a0 100644
33
--- a/browser/base/content/browser-addons.js
44
+++ b/browser/base/content/browser-addons.js
5-
@@ -2105,18 +2105,20 @@ var gUnifiedExtensions = {
5+
@@ -735,7 +735,7 @@ var gXPInstallObserver = {
6+
persistent: true,
7+
hideClose: true,
8+
popupOptions: {
9+
- position: "bottomright topright",
10+
+ position: gZenUIManager.panelUIPosition,
11+
},
12+
};
13+
14+
@@ -942,7 +942,7 @@ var gXPInstallObserver = {
15+
hideClose: true,
16+
timeout: Date.now() + 30000,
17+
popupOptions: {
18+
- position: "bottomright topright",
19+
+ position: gZenUIManager.panelUIPosition,
20+
},
21+
};
22+
23+
@@ -2125,7 +2125,7 @@ var gUnifiedExtensions = {
24+
25+
panel.hidden = false;
26+
PanelMultiView.openPopup(panel, this._button, {
27+
- position: "bottomright topright",
28+
+ position: gZenUIManager.panelUIPosition,
29+
triggerEvent: aEvent,
30+
});
31+
}
32+
@@ -2294,18 +2294,20 @@ var gUnifiedExtensions = {
633
this._maybeMoveWidgetNodeBack(widgetId);
734
}
835

0 commit comments

Comments
 (0)