mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 12:52:08 +08:00
1.1.3 -> 1.1.4 第52次更新
This commit is contained in:
parent
21964c0e76
commit
753b53bc17
@ -485,7 +485,7 @@ public partial class MainWin : Window
|
||||
newButtonStyle.Setters.Add(new Setter(Button.ForegroundProperty, newForegroundColor.HasValue ? new SolidColorBrush(newForegroundColor.Value) : new DynamicResourceExtension("MaterialDesignBackground")));
|
||||
Application.Current.Resources[typeof(Button)] = newButtonStyle;
|
||||
|
||||
new GlobalPres().AccentForegroundColor = newAccentForegroundColor;
|
||||
MainPres.AccentForegroundColor = newAccentForegroundColor;
|
||||
|
||||
if (GameFlashInterval > 100)
|
||||
GameFlashInterval += random.Next(1, 4);
|
||||
|
@ -50,7 +50,7 @@ public partial class SettingsWin : Window
|
||||
newButtonStyle.Setters.Add(new Setter(Button.ForegroundProperty, newForegroundColor.HasValue ? new SolidColorBrush(newForegroundColor.Value) : new DynamicResourceExtension("MaterialDesignBackground")));
|
||||
Application.Current.Resources[typeof(Button)] = newButtonStyle;
|
||||
|
||||
new GlobalPres().AccentForegroundColor = newAccentForegroundColor;
|
||||
SettingsPres.AccentForegroundColor = newAccentForegroundColor;
|
||||
|
||||
Settings.Default.PrimaryColor = System.Drawing.Color.FromArgb(newPrimaryColor.A, newPrimaryColor.R, newPrimaryColor.G, newPrimaryColor.B);
|
||||
Settings.Default.Save();
|
||||
|
Loading…
Reference in New Issue
Block a user