[windows] Disable Status Bar

This commit is contained in:
Lea Anthony
2021-09-09 20:26:04 +10:00
parent 88bbfcb7f1
commit 322f6b9b64

View File

@@ -192,6 +192,15 @@ func (f *Frontend) setupChromium() {
if err != nil {
log.Fatal(err)
}
err = settings.PutIsStatusBarEnabled(false)
if err != nil {
log.Fatal(err)
}
err = settings.PutIsStatusBarEnabled(false)
if err != nil {
log.Fatal(err)
}
//c2, err := chromium.GetWebView2Controller2()
//err = c2.PutDefaultBackgroundColor(edge.COREWEBVIEW2_COLOR{R: 255, G: 0, B: 0, A: 255})
//if err != nil {