TinyColor icon indicating copy to clipboard operation
TinyColor copied to clipboard

Enable wrapping around of hue values given in degrees

Open timothyausten opened this issue 10 years ago • 1 comments

Have a look: Test example. I changed function bound01() to check for a max value of 360 and if it is, then allow n to keep going around the color wheel and return the value where it ends up.

timothyausten avatar Nov 01 '15 17:11 timothyausten

This is certainly something that tinycolor needs to be accurate. I have confirmed by experimentation that css wraps out-of-range values.

thaliaarchi avatar Oct 08 '16 22:10 thaliaarchi