From bcf4c4d1a3b7e230f2d0f25f7e3a5b4b8ea0679d Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Wed, 10 Dec 2025 18:12:17 +0100 Subject: [PATCH] feat: Revert not modifying the opacity for windows and linux, b=no-bug, c=workspaces --- src/zen/workspaces/ZenGradientGenerator.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zen/workspaces/ZenGradientGenerator.mjs b/src/zen/workspaces/ZenGradientGenerator.mjs index 8103a1779..5ece76491 100644 --- a/src/zen/workspaces/ZenGradientGenerator.mjs +++ b/src/zen/workspaces/ZenGradientGenerator.mjs @@ -1110,6 +1110,9 @@ export class nsZenThemePicker extends nsZenMultiWindowFeature { opacity + lazy.MIN_OPACITY + colorToBlendOpacity * (1 - (opacity + lazy.MIN_OPACITY)) ); baseColor = this.blendColors(baseColor, colorToBlend, blendedAlpha * 100); + if (AppConstants.platform !== 'macosx') { + opacity += colorToBlendOpacity * (1 - opacity); + } } return `rgba(${baseColor[0]}, ${baseColor[1]}, ${baseColor[2]}, ${opacity})`; }