Skip to content

Commit

Permalink
fix brightness changes in static mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jackw01 committed Dec 25, 2020
1 parent 8306280 commit f35f583
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ledcontrol/animationcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def calculate_mappings(self):
def set_param(self, key, value):
'Set an animation parameter'
self.params[key] = value
self.update_needed = True
if key == 'master_color_temp':
self.calculate_color_correction()
elif key == 'primary_scale' or key == 'secondary_scale':
Expand Down

0 comments on commit f35f583

Please sign in to comment.