BLUI
BLUI copied to clipboard
CEF Transparency with Border Radius
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.'
giving the body or html tag a background color.