invidget icon indicating copy to clipboard operation
invidget copied to clipboard

Handle invisible portions of icons better

Open Phoenix616 opened this issue 5 years ago • 4 comments

Currently invisible portions of server icons get some strange outline around them when the normal invite widget just displays the normal background.

Invidget: Invidget

Discord widget: Discord

Phoenix616 avatar Sep 26 '20 20:09 Phoenix616

Can reproduce, i'm gonna take a look.

Doges avatar Sep 27 '20 17:09 Doges

It being a squircle instead of a full circle is intentional, as that's how Discord displays invites afaik. Is the issue about the black background on the transparent parts?

pedrofracassi avatar Sep 27 '20 17:09 pedrofracassi

It being a squircle instead of a full circle is intentional, as that's how Discord displays invites afaik. Is the issue about the black background on the transparent parts?

It's about the gray background and the border, should be pretty obvious from comparing the two images what I mean? 🤔

Phoenix616 avatar Sep 27 '20 18:09 Phoenix616

Can you send me the server icon from that widget you're rendering?

I see that a transparent portion of the icon is black, that should be easy to fix, but I'm not sure about these edges you pointed out.

pedrofracassi avatar Sep 27 '20 18:09 pedrofracassi