From 5197cd6b15b9a39145bdb53140a16d5556ff0061 Mon Sep 17 00:00:00 2001 From: 1zuna Date: Thu, 16 Nov 2023 13:04:11 +0100 Subject: [PATCH] fixed mistake --- native/CefBrowser_N.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;