BLUI icon indicating copy to clipboard operation
BLUI copied to clipboard

CEF Transparency with Border Radius

Open Aricwithana opened this issue 8 years ago • 1 comments

When using a transparent background for the HUD, elements with a border radius receive a black line halo on the rounded radius.

I've seen the same issue with using CEF in other projects like cefPython but doesn't happen in any actual browser.

I'm compensating for the issue at the moment with a drop shadow css filter (not active in the attached image).

I did find this that might be useful:

http://magpcss.org/ceforum/viewtopic.php?f=6&t=13404

'You need to set CefWindowInfo.transparent_painting_enabled to true and use HTML content that does not specify a background color.'

cef-transparancy

Aricwithana avatar Jun 19 '16 15:06 Aricwithana

giving the body or html tag a background color.

chapery avatar Jun 01 '17 05:06 chapery