From 73df06150addfb27c98ceb91b259f74acdf2ecdf Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Thu, 24 Feb 2011 12:58:16 +0100 Subject: [PATCH] Fix RGBColor#setGray. --- src/color/RGBColor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/RGBColor.js b/src/color/RGBColor.js index ff6ace2b..f995f95b 100644 --- a/src/color/RGBColor.js +++ b/src/color/RGBColor.js @@ -157,7 +157,7 @@ RGBColor = Color.extend(new function() { setGray: function(gray) { this._cssString = null; - this._red = this._green = this._blue = gray; + this._red = this._green = this._blue = 1 - gray; }, /**