From c1d56fe79de6cce008f866c32a04e67c313cb225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E7=BA=A2=E5=B2=A9?= Date: Sun, 12 Feb 2023 18:59:03 +0800 Subject: [PATCH] =?UTF-8?q?demos:=20=E5=A2=9E=E5=8A=A0=E6=97=A0=E8=BE=B9?= =?UTF-8?q?=E6=A1=86=E6=97=A0=E6=A0=87=E9=A2=98=E5=8F=AF=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/browser-frameless/resources/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/browser-frameless/resources/index.html b/example/browser-frameless/resources/index.html index ca30bab1..b9c7c7a3 100644 --- a/example/browser-frameless/resources/index.html +++ b/example/browser-frameless/resources/index.html @@ -12,10 +12,12 @@
这是一个宽700px, 高50px的可拖拽窗口区域 + 这块区域内容可点击 

无边框可拖拽窗口
- cef.BrowserWindow.Config.EnableHideCaption = true + cef.BrowserWindow.Config.EnableHideCaption = true
+ -webkit-app-region: drag/no-drag

文本内容文本内容文本内容文本内容文本内容文本内容文本内容文本内容文本内容文本内容文本内容文本内容文本内容文本内容