mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-03-15 07:08:12 +01:00
[bug] fix hsl to rgb not working with max hue value
This commit is contained in:
parent
4b44310523
commit
1d0c0b8577
@ -98,7 +98,7 @@ var helper = (function() {
|
||||
var green;
|
||||
var blue;
|
||||
|
||||
if (huePrime === 0) {
|
||||
if (huePrime === 0 || huePrime === 6) {
|
||||
red = chroma;
|
||||
green = secondComponent;
|
||||
blue = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user