mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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,
|
var h = color._hue,
|
||||||
s = color._saturation,
|
s = color._saturation,
|
||||||
b = color._brightness,
|
b = color._brightness,
|
||||||
a = color._alpha;
|
a = color._alpha,
|
||||||
var f = h % 60,
|
f = h % 60,
|
||||||
p = (b * (1 - s)) / 1,
|
p = (b * (1 - s)) / 1,
|
||||||
q = (b * (60 - s * f)) / 60,
|
q = (b * (60 - s * f)) / 60,
|
||||||
t = (b * (60 - s * (60 - f))) / 60;
|
t = (b * (60 - s * (60 - f))) / 60;
|
||||||
|
|
Loading…
Reference in a new issue