Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: systray fixed the mask-based icons transparency handling #198

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Video-Nomad
Copy link

@Video-Nomad Video-Nomad commented Mar 5, 2025

Noticed there's an issue with transparency handling of old-school mask-based icons if there is a full black color involved.
In the original code if all the color channels are 0 (full black) it was treated as transparent which is incorrect.
I feel like removing this check will be a better option since we already establishing that we are dealing with mask-based icons beforehand with another check and there's only two possible values for those pixels - fully transparent (255) or opaque (everything else).

Before:
4Dmo1qGeoR

After:
kUN3GF2uty

Windows systray:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📬 Needs triage
Development

Successfully merging this pull request may close these issues.

1 participant