Small change to HSBColor#setHue.

This commit is contained in:
Jonathan Puckey 2011-03-09 02:30:50 +01:00
parent 60c8c6ce02
commit 00c4b5ee34

View file

@ -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;
}
});