Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
typescript
coloration
Commits
44fcb351
Commit
44fcb351
authored
Jan 20, 2019
by
Zéfling
🎨
Browse files
Fix the addition of the hue
parent
54eb255a
Changes
1
Hide whitespace changes
Inline
Side-by-side
projects/coloration/src/lib/coloration.ts
View file @
44fcb351
...
...
@@ -131,7 +131,7 @@ export class Coloration {
}
if
(
colorData
.
h
||
colorData
.
s
||
colorData
.
v
)
{
if
(
colorData
.
r
)
{
if
(
colorData
.
h
)
{
this
.
hsv
.
h
=
(
this
.
hsv
.
h
+
(
+
colorData
.
h
)
+
360
)
%
360
;
}
if
(
colorData
.
s
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment