-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Coloring interpretes alpha value in an unexpected way #39
Labels
bug
Something isn't working
Comments
francma
added a commit
that referenced
this issue
Jun 7, 2020
francma
added a commit
that referenced
this issue
Jun 7, 2020
francma
added a commit
that referenced
this issue
Jun 19, 2020
francma
added a commit
that referenced
this issue
Jun 19, 2020
francma
added a commit
that referenced
this issue
Jun 19, 2020
francma
added a commit
that referenced
this issue
Jun 20, 2020
francma
added a commit
that referenced
this issue
Jun 20, 2020
francma
added a commit
that referenced
this issue
Jun 21, 2020
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
System: Debian GNU/Linux testing/unstable
Sway Version: 1.4 (from Debian repository)
wob Version: 7d03efc (compiled from this repository)
I tried to integrate the coloring of wob into my overall theme and saw that the same color codes (swaybar's
#rrggbbaa
rewritten to wob's#aarrggbb
format) were rendered differently, but only if the alpha value was lower thanff
. More testing shows that only the "black part" of the color will be made transparent.An example: The "colors"
#00000000
and#00ffffff
(#aarrggbb
) should both be transparent in the same way because both have an alpha value of00
. However wob renders the first one fully transparent (as expected), but the second one fully white (not as expected). To test this yourself, run following commands:The text was updated successfully, but these errors were encountered: