mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Small change to HSBColor#setHue.
This commit is contained in:
parent
60c8c6ce02
commit
00c4b5ee34
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ var HSBColor = this.HSBColor = Color.extend(new function() {
|
|||
if (hue < 0)
|
||||
hue = 360 + hue;
|
||||
this._cssString = null;
|
||||
this._hue = hue;
|
||||
this._hue = hue % 360;
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue