Skip to content

Commit

Permalink
fixed mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Nov 16, 2023
1 parent 16d6f80 commit 5197cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/CefBrowser_N.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -933,10 +933,10 @@ void create(std::shared_ptr<JNIObjectsForCreate> objs,

CefBrowserSettings settings;

settings.windowless_frame_rate = 120;
if (transparent == JNI_FALSE) {
// Specify an opaque background color (white) to disable transparency.
settings.background_color = CefColorSetARGB(255, 255, 255, 255);
settings.windowless_frame_rate = 120;
}

CefRefPtr<CefBrowser> browserObj;
Expand Down

0 comments on commit 5197cd6

Please sign in to comment.