feat: Show the correct possition for new panels, b=no-bug, c=common

This commit is contained in:
Mr. M
2025-11-08 12:31:30 +01:00
parent 96c6ec658c
commit 2ec4510850
3 changed files with 14 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/browser/actors/EncryptedMediaParent.sys.mjs b/browser/actors/EncryptedMediaParent.sys.mjs
index 9d3d3db9761cf5b2fde1f70992e82b1733241863..3dc64dc395d5237bf2c290cb8588cf467fb8729a 100644
--- a/browser/actors/EncryptedMediaParent.sys.mjs
+++ b/browser/actors/EncryptedMediaParent.sys.mjs
@@ -200,6 +200,7 @@ export class EncryptedMediaParent extends JSWindowActorParent {
"drmContentPlaying",
aBrowser
)
+ || true // zen: We have some issues with this currently, so never show it
) {
return;
}

View File

@@ -5,8 +5,7 @@
<panel id="zen-unified-site-data-panel"
role="group"
type="arrow"
noautofocus="true"
position="bottomright topright">
noautofocus="true">
<panelmultiview mainViewId="unified-extensions-view">
# We'll keep the view with this name/id in order to prevent
# any sort of future issues we may have if firefox decides

View File

@@ -659,7 +659,7 @@ var gZenUIManager = {
if (anchor?.closest('#zen-sidebar-top-buttons')) {
block = 'topleft';
}
if (gZenVerticalTabsManager._hasSetSingleToolbar && !gZenVerticalTabsManager._prefsRightSide) {
if (gZenVerticalTabsManager._hasSetSingleToolbar && gZenVerticalTabsManager._prefsRightSide) {
block = 'bottomright';
inline = 'topright';
}