From d8b73f36719be89fd054fb828a4e0995b1fbb655 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sat, 21 May 2011 12:06:01 +0200 Subject: [PATCH] Fix GradientColor#clone(). --- src/color/GradientColor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/GradientColor.js b/src/color/GradientColor.js index 8b61ed92..6cf6f1bf 100644 --- a/src/color/GradientColor.js +++ b/src/color/GradientColor.js @@ -26,7 +26,7 @@ var GradientColor = this.GradientColor = Color.extend({ }, clone: function() { - return new GradientColor(thisgradient, this._origin, this._destination, + return new GradientColor(this.gradient, this._origin, this._destination, this._hilite); },