I just built CEF 81.3.1 (MinGw-w64) and now my Windows application shows a noticeable white background before loading the HTML content. This was happening very fast in prior versions (80.1.15 the last 'good' one I tested) making it barely noticeable.
Since I initialize my window with a black background (first shown color) and the loaded HTML is dark, this white flash in between is kind of intrusive.
I've tried to set the background_color property of CefSettings black before creating the browser but it won't work. This is the code:
- Code: Select all
brw_settings.background_color = (cef_color_t)0;
CefBrowserHost::CreateBrowser(info, GuiClient, url, brw_settings, NULL, NULL);
I've searched the forums but I didn't find a solution.
Thanks you for helping!.