mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-24 00:06:02 +00:00
fix: improve tab selection for collapsed folders, p=#9977
Co-authored-by: Mr. M <mr.m@tuta.com> Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
@@ -1090,11 +1090,7 @@
|
||||
}
|
||||
let opacity = this.currentOpacity;
|
||||
if (forToolbar && !this.#allowTransparencyOnSidebar) {
|
||||
color = this.blendColors(
|
||||
color.c,
|
||||
this.getToolbarModifiedBaseRaw().slice(0, 3),
|
||||
opacity * 100
|
||||
);
|
||||
color = this.blendColors(color.c, this.getToolbarModifiedBaseRaw().slice(0, 3), 90);
|
||||
opacity = 1; // Toolbar colors should always be fully opaque
|
||||
} else {
|
||||
color = color.c;
|
||||
|
||||
Reference in New Issue
Block a user