Skip to content

Commit

Permalink
Change minimum temperature to 500K
Browse files Browse the repository at this point in the history
Closes #158
  • Loading branch information
Tyrrrz committed May 25, 2020
1 parent c7a6ebc commit 5a0e307
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -12,7 +12,7 @@ public double NightTemperature
get => SettingsService.NightConfiguration.Temperature;
set
{
SettingsService.NightConfiguration = new ColorConfiguration(value.Clamp(1000.0, 10000.0), NightBrightness);
SettingsService.NightConfiguration = new ColorConfiguration(value.Clamp(500.0, 10000.0), NightBrightness);

if (NightTemperature > DayTemperature)
DayTemperature = NightTemperature;
Expand All @@ -24,7 +24,7 @@ public double DayTemperature
get => SettingsService.DayConfiguration.Temperature;
set
{
SettingsService.DayConfiguration = new ColorConfiguration(value.Clamp(1000.0, 10000.0), DayBrightness);
SettingsService.DayConfiguration = new ColorConfiguration(value.Clamp(500.0, 10000.0), DayBrightness);

if (DayTemperature < NightTemperature)
NightTemperature = DayTemperature;
Expand Down

0 comments on commit 5a0e307

Please sign in to comment.