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

pass correct data type to remap_rgb_value and remap_rgb_value_reverse #101

Merged

Conversation

robberwick
Copy link
Collaborator

This pull request includes changes to the src/blinkstick/blinkstick.py file to improve the handling of RGB values. The most important changes involve modifying the data structures used in the remap_rgb_value and remap_rgb_value_reverse functions.

Improvements to RGB value handling:

  • src/blinkstick/blinkstick.py: Changed the input parameter from a list to a tuple in the _determine_rgb method to improve the handling of RGB values.
  • src/blinkstick/blinkstick.py: Changed the input parameter from a list to a tuple in the morph method to ensure consistency and proper handling of RGB values.

pass a tuple, not a list when calling `remap_rgb_value` and `remap_rgb_value_reverse`
@robberwick robberwick merged commit 090fb0c into arvydas:release/2.0-dev Nov 16, 2024
15 checks passed
@robberwick robberwick deleted the remap-rgb-value-tuple branch November 16, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant