mirror of
https://github.com/zen-browser/desktop.git
synced 2026-06-14 15:33:42 +00:00
feat: Show the correct possition for new panels, b=no-bug, c=common
This commit is contained in:
12
src/browser/actors/EncryptedMediaParent-sys-mjs.patch
Normal file
12
src/browser/actors/EncryptedMediaParent-sys-mjs.patch
Normal 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;
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user