aseprite / laf

A C++ library to create desktop applications
https://aseprite.github.io/laf/
MIT License
276 stars 60 forks source link

Fix hue set function. #21

Closed Gasparoken closed 4 years ago

Gasparoken commented 4 years ago

Before this fix the hue set function clamped the hue value between 0 and 360, instead of convert the hue value to an equivalent angle between 0 and 360.

I agree that my contributions are licensed under the Laf license, and agree to future changes to the licensing.

dacap commented 4 years ago

Merged with a minor fix to fix CI on MSVC: https://ci.appveyor.com/project/dacap/laf/builds/34599173/job/3pl0p9tp2po9pqt2#L323