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

Fix hue modulo operation #50

Closed
wants to merge 1 commit into from
Closed

Conversation

adroitwhiz
Copy link
Contributor

This modulo operation was removed in #37 under the mistaken impression that it was unnecessary. However, it's required for a proper "wrapping modulo"--without it, hue values lower than -360 will not be made positive.

I've added a test that checks for such a case specifically.

@Qix-
Copy link
Owner

Qix- commented Nov 26, 2021

Thanks, and sorry for the delay on this. Landed ultimately in 9563250 and published as 1.7.3.

@Qix- Qix- closed this Nov 26, 2021
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.

2 participants