You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original report by Anton Tarasov (Bitbucket: Anton Tarasov).
When I set a background color like (red): settings.background_color = settings.new ColorType(255, 255, 0, 0);
And then create windowed opaque browser: client.createBrowser("about:blank", false, false);
It always appears with white background.
On macOS it takes some time before a web page loads, so the white background can contrast with dark UI…
The reason is that the color is overridden in CefBrowser_N.create: if (transparent == JNI_FALSE) { // Specify an opaque background color (white) to disable transparency. settings.background_color = CefColorSetARGB(255, 255, 255, 255); }
The text was updated successfully, but these errors were encountered:
Original report by Anton Tarasov (Bitbucket: Anton Tarasov).
When I set a background color like (red):
settings.background_color = settings.new ColorType(255, 255, 0, 0);
And then create windowed opaque browser:
client.createBrowser("about:blank", false, false);
It always appears with white background.
On macOS it takes some time before a web page loads, so the white background can contrast with dark UI…
The reason is that the color is overridden in CefBrowser_N.create:
if (transparent == JNI_FALSE) {
// Specify an opaque background color (white) to disable transparency.
settings.background_color = CefColorSetARGB(255, 255, 255, 255);
}
The text was updated successfully, but these errors were encountered: