diff options
author | Alex Tatiyants <atatiyan@gmail.com> | 2016-01-07 07:44:48 -0800 |
---|---|---|
committer | Alex Tatiyants <atatiyan@gmail.com> | 2016-01-07 07:44:48 -0800 |
commit | 721c4a49c47460f1618a0f679fe9125a5f519cdc (patch) | |
tree | de9ef56e05163272f904aa83fb320e1df9f48292 /app/services/color-service.ts | |
parent | 7363d83b6df50f6cd31f15aebe2ace95d13a2e00 (diff) |
fix various build issues
Diffstat (limited to 'app/services/color-service.ts')
-rw-r--r-- | app/services/color-service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/color-service.ts b/app/services/color-service.ts index 37183c0..3116a07 100644 --- a/app/services/color-service.ts +++ b/app/services/color-service.ts @@ -15,7 +15,7 @@ export class ColorService { hslToRgb(h, s, l) { var r, g, b; - if (s == 0) { + if (s === 0) { r = g = b = l; // achromatic } else { function hue2rgb(p, q, t) { |