mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 11:51:51 +00:00
chore: Import external patches with replacements, b=no-bug, c=no-component
This commit is contained in:
@@ -131,7 +131,7 @@ diff --git a/toolkit/themes/shared/global-shared.css b/toolkit/themes/shared/glo
|
||||
/* Lightweight theme roots */
|
||||
|
||||
:root[lwtheme] {
|
||||
body,
|
||||
.browser-toolbox-background,
|
||||
toolbar,
|
||||
diff --git a/widget/cocoa/nsCocoaWindow.h b/widget/cocoa/nsCocoaWindow.h
|
||||
--- a/widget/cocoa/nsCocoaWindow.h
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
// Specifically trying to target FeatureCallout.sys.mjs's change.
|
||||
// IMPORTANT: Make sure Feature callouts STILL use native popopvers when
|
||||
// syncing from upstream, as this is a critical part of the patch.
|
||||
"+ nonnativepopover=\"true\"": "+ "
|
||||
"+ nonnativepopover=\"true\"": "+ ",
|
||||
"body,": ".browser-toolbox-background,"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -450,7 +450,8 @@ export class nsZenSessionManager {
|
||||
];
|
||||
}
|
||||
for (const winData of initialState?.windows || []) {
|
||||
winData.spaces = winData.spaces || this._migrationData?.spaces || [];
|
||||
winData.spaces =
|
||||
(winData.spaces?.length ? winData.spaces : this._migrationData?.spaces) || [];
|
||||
if (winData.tabs) {
|
||||
for (const tabData of winData.tabs) {
|
||||
let storeId = tabData.zenSyncId || tabData.zenPinnedId;
|
||||
|
||||
Reference in New Issue
Block a user