Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Immediately perform colour transitions for ColorControl commands where TransitionTime is zero #26987

Merged
merged 9 commits into from
Jun 7, 2023

Commits on May 31, 2023

  1. Perform colour control commands with zero transition time immediately.

    Commands to the colour control server that had a transition time of zero were being deferred for 100 ms. Instead they should be handled immediately.
    harimau-qirex committed May 31, 2023
    Configuration menu
    Copy the full SHA
    9f3017e View commit details
    Browse the repository at this point in the history
  2. Ensure the RemainingTime attribute is set correctly.

    When the transition time is 0, the remaining time should also be 0.
    harimau-qirex committed May 31, 2023
    Configuration menu
    Copy the full SHA
    3db9546 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Track the time remaining for a colour-change command separately from …

    …the number of steps remaining.
    
    This ensures the calculation for time remaining is correct when both a hue and a saturation command are running simultaneously.
    harimau-qirex committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    f99d746 View commit details
    Browse the repository at this point in the history
  2. Remove firstStepDelayMs.

    Calculate the amount of time to delay the first step where it's used instead of at the start of the functions.
    harimau-qirex committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    0127257 View commit details
    Browse the repository at this point in the history
  3. Remove the transitionTime variable.

    Calculate the value where it's used instead.
    harimau-qirex committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    c1c613b View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Restyled by clang-format

    restyled-commits authored and harimau-qirex committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    32c6dac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    effefea View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    c34cf1f View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Configuration menu
    Copy the full SHA
    f1a3ed7 View commit details
    Browse the repository at this point in the history