mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 23:42:16 +08:00
1 parent
26bad97aab
commit
d4274f48c2
5 files changed
+27
-15
No files matched your search
+17
-12
@@ -1212,18 +1212,23 @@ func windowOptions(dataDir string) (guigo.Options, error) {
|
||||
if err != nil {
|
||||
return guigo.Options{}, err
|
||||
}
|
||||
material := guigo.TitleBarSolid
|
||||
if guigo.SupportsTitleBarMaterial(guigo.TitleBarMicaAlt) {
|
||||
material = guigo.TitleBarMicaAlt
|
||||
}
|
||||
return guigo.Options{
|
||||
AppID: appID,
|
||||
Title: "OFDGo - OFD编辑器",
|
||||
TitleBar: guigo.TitleBarContent,
|
||||
TitleBarColors: themeColors(false),
|
||||
Icon: icon,
|
||||
Width: 1440,
|
||||
Height: 900,
|
||||
MinWidth: 360,
|
||||
MinHeight: 240,
|
||||
Center: true,
|
||||
Maximized: true,
|
||||
UserDataDir: dataDir,
|
||||
AppID: appID,
|
||||
Title: "OFDGo - OFD编辑器",
|
||||
TitleBar: guigo.TitleBarContent,
|
||||
TitleBarColors: themeColors(false),
|
||||
TitleBarMaterial: material,
|
||||
Icon: icon,
|
||||
Width: 1440,
|
||||
Height: 900,
|
||||
MinWidth: 360,
|
||||
MinHeight: 240,
|
||||
Center: true,
|
||||
Maximized: true,
|
||||
UserDataDir: dataDir,
|
||||
}, nil
|
||||
}
|
||||
Reference in new issue
Block a user