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:
octaviusz
2025-08-24 02:21:25 +03:00
committed by GitHub
parent 9dff069011
commit 5afc6cd7d0
3 changed files with 105 additions and 100 deletions

View File

@@ -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;