David
2023-10-08 16:48:55 +02:00
committed by GitHub
3 changed files with 4 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ namespace MaaWpfGui.Configuration
};
}
private static Root Root => _rootConfig.Value;
public static Root Root => _rootConfig.Value;
public static readonly SpecificConfig CurrentConfig = Root.CurrentConfig;

View File

@@ -47,7 +47,7 @@ namespace MaaWpfGui.Configuration
/// <summary>
/// 暗黑的主题。
/// </summary>
Dark
Dark,
}
}
}

View File

@@ -15,6 +15,7 @@ namespace MaaWpfGui.Configuration
{
public class SpecificConfig
{
public GUI GUI { get; } = new GUI();
// ReSharper disable once UnusedAutoPropertyAccessor.Global
public GUI GUI { get; set; } = new GUI();
}
}