mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
feat: Set a constant blending mode for transparent sidebars, b=no-bug, c=workspaces
This commit is contained in:
@@ -1090,7 +1090,11 @@
|
||||
}
|
||||
let opacity = this.currentOpacity;
|
||||
if (forToolbar && !this.#allowTransparencyOnSidebar) {
|
||||
color = this.blendColors(color.c, this.getToolbarModifiedBaseRaw().slice(0, 3), 90);
|
||||
color = this.blendColors(
|
||||
color.c,
|
||||
this.getToolbarModifiedBaseRaw().slice(0, 3),
|
||||
this.canBeTransparent ? 90 : opacity * 100
|
||||
);
|
||||
opacity = 1; // Toolbar colors should always be fully opaque
|
||||
} else {
|
||||
color = color.c;
|
||||
|
Reference in New Issue
Block a user