mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 11:51:51 +00:00
feat: Revert not modifying the opacity for windows and linux, b=no-bug, c=workspaces
This commit is contained in:
@@ -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})`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user