Skip to content

Commit

Permalink
[ColorControl] Split (Enhanced)Hue and Saturation transitions (#25345)
Browse files Browse the repository at this point in the history
* Split (Enhanced)Hue and Saturation transition so a command changing 1 doesn't stop the transition of the other. Some code clean up and changes in computeNewColor16uValue functions lead to some minor changes for XY and Temp transition functions

* reset hue or saturation transtition state on moveHue or moveSaturation stop commands

* Restyled by clang-format

* Make sure RemainingTime is set to the longest time between two HSV transitions. Fix typos in comments

* A moveXYZ rate of 0 is a invalid command except for MoveMode Stop were the rate is ignored

* Restyled by clang-format

* Add check for command parameters or move them before any other logic is done. Update some return status to correct error codes

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
2 people authored and pull[bot] committed Aug 10, 2023
1 parent 5b97fef commit 1178228
Show file tree
Hide file tree
Showing 2 changed files with 273 additions and 255 deletions.

0 comments on commit 1178228

Please sign in to comment.