mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-31 23:04:01 +08:00
1 parent
cd191ac679
commit
2abc0b878c
6 files changed
+15
-7
No files matched your search
@@ -1214,8 +1214,8 @@ func windowOptions(dataDir string) (guigo.Options, error) {
|
||||
return guigo.Options{}, err
|
||||
}
|
||||
material := guigo.TitleBarSolid
|
||||
if guigo.SupportsTitleBarMaterial(guigo.TitleBarMicaAlt) {
|
||||
material = guigo.TitleBarMicaAlt
|
||||
if guigo.SupportsTitleBarMaterial(guigo.TitleBarMica) {
|
||||
material = guigo.TitleBarMica
|
||||
}
|
||||
return guigo.Options{
|
||||
AppID: appID,
|
||||
|
||||
@@ -160,7 +160,7 @@ func titleBarMaterial(value string) guigo.TitleBarMaterial {
|
||||
material := guigo.TitleBarSolid
|
||||
switch value {
|
||||
case "mica":
|
||||
material = guigo.TitleBarMicaAlt
|
||||
material = guigo.TitleBarMica
|
||||
case "acrylic":
|
||||
material = guigo.TitleBarAcrylic
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user