feat: Revert not modifying the opacity for windows and linux, b=no-bug, c=workspaces

This commit is contained in:
mr. m
2025-12-10 18:12:17 +01:00
parent e4c36574b9
commit bcf4c4d1a3

View File

@@ -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})`;
}