mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Color: small change.
This commit is contained in:
parent
87de9f4fa8
commit
08d66ae231
1 changed files with 2 additions and 2 deletions
|
@ -278,8 +278,8 @@ var Color = this.Color = Base.extend(new function() {
|
|||
var h = color._hue,
|
||||
s = color._saturation,
|
||||
b = color._brightness,
|
||||
a = color._alpha;
|
||||
var f = h % 60,
|
||||
a = color._alpha,
|
||||
f = h % 60,
|
||||
p = (b * (1 - s)) / 1,
|
||||
q = (b * (60 - s * f)) / 60,
|
||||
t = (b * (60 - s * (60 - f))) / 60;
|
||||
|
|
Loading…
Reference in a new issue