D: remove useless code

This commit is contained in:
杨红岩 2023-06-14 17:31:29 +08:00
parent b43b66aeda
commit 6c34309add
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ func main() {
} else if strings.Index(beforePopupInfo.TargetUrl, "model_window") > 0 {
popupWindow.SetSize(200, 200)
popupWindow.HideTitle()
//popupWindow.AsLCLBrowserWindow().BrowserWindow().EnableTransparent(100)
popupWindow.WindowProperty().IsShowModel = true
}
return false

View File

@ -30,7 +30,7 @@ func main() {
go server.StartHttpServer()
})
cef.BrowserWindow.SetBrowserInit(func(event *cef.BrowserEvent, window cef.IBrowserWindow) {
WindowTransparent(types.HWND(window.Handle()))
})
cef.Run(cefApp)
}