diff --git a/native/CefBrowser_N.cpp b/native/CefBrowser_N.cpp index 96aeee08..a60a95e0 100644 --- a/native/CefBrowser_N.cpp +++ b/native/CefBrowser_N.cpp @@ -933,10 +933,10 @@ void create(std::shared_ptr 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 browserObj;