mirror of
https://gitee.com/energye/energy.git
synced 2024-11-29 18:28:06 +08:00
D: remove useless code
This commit is contained in:
parent
b43b66aeda
commit
6c34309add
@ -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
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user