Fix LightenDarken's Hue Shifting colors

- All colors move towards yellow when lighting, and purple when darkening. The logic has become more complex, so it doesn't just increase (or decrease) the hue when lighting (or darkening). This solves issues with green and blue.

- Added limits to the hue when lighting and darkening, limits to the value when darkening, and to the saturation when lighting.

This behavior should eventually be documented to explain how it works to the users.
This commit is contained in:
Manolis Papadeas 2020-11-17 04:18:36 +02:00
parent 397ef566db
commit 22f4796251
2 changed files with 69 additions and 7 deletions

View file

@ -44,7 +44,7 @@ Join our Discord community server where we can discuss about Pixelorama and a
If you like, consider helping us by sponsoring this project! It would enable us to focus more on Pixelorama, and make more projects in the future!
You can also support the development on patreon: [![Become a Patron!](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://patreon.com/OramaInteractive)
Toss A Coin For A New Feature: [![Become a Patron!](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://patreon.com/OramaInteractive)
## Download
Stable versions: