mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-31 23:04:01 +08:00
feat(界面设计): 默认窗口材质改为纯色
This commit is contained in:
1 parent
841020b881
commit
60f805fab4
3 files changed
+3
-7
No files matched your search
@@ -1213,16 +1213,12 @@ func windowOptions(dataDir string) (guigo.Options, error) {
|
||||
if err != nil {
|
||||
return guigo.Options{}, err
|
||||
}
|
||||
material := guigo.WindowSolid
|
||||
if guigo.SupportsWindowMaterial(guigo.WindowAcrylic) {
|
||||
material = guigo.WindowAcrylic
|
||||
}
|
||||
return guigo.Options{
|
||||
AppID: appID,
|
||||
Title: "OFDGo - OFD编辑器",
|
||||
TitleBar: guigo.TitleBarContent,
|
||||
TitleBarColors: themeColors(false),
|
||||
WindowMaterial: material,
|
||||
WindowMaterial: guigo.WindowSolid,
|
||||
Icon: icon,
|
||||
Width: 1440,
|
||||
Height: 900,
|
||||
|
||||
Reference in new issue
Block a user