[windows] Fix bug with windows options

This commit is contained in:
Lea Anthony
2021-09-05 22:40:34 +10:00
parent 9a99b47f07
commit 2c2ce66ec4
2 changed files with 16 additions and 18 deletions

View File

@@ -2,20 +2,13 @@ package options
import (
"github.com/wailsapp/wails/v2/pkg/logger"
"github.com/wailsapp/wails/v2/pkg/options/mac"
)
// Default options for creating the App
var Default = &App{
Width: 1024,
Height: 768,
RGBA: 0xFFFFFFFF,
Mac: &mac.Options{
TitleBar: mac.TitleBarDefault(),
Appearance: mac.DefaultAppearance,
WebviewIsTransparent: false,
WindowBackgroundIsTranslucent: false,
},
Width: 1024,
Height: 768,
RGBA: 0xFFFFFFFF,
Logger: logger.NewDefaultLogger(),
LogLevel: logger.INFO,
}