From 9be8c154b71d9ee8e532922cc63f2fbb20215a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 2 Jun 2011 09:34:10 +0100 Subject: [PATCH] Clean up code. --- src/color/GradientColor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/color/GradientColor.js b/src/color/GradientColor.js index 0c463905..c8095c32 100644 --- a/src/color/GradientColor.js +++ b/src/color/GradientColor.js @@ -98,8 +98,8 @@ var GradientColor = this.GradientColor = Color.extend({ hilite = Point.read(arguments).clone(); var vector = hilite.subtract(this._origin); if (vector.getLength() > this._radius) { - this._hilite = this._origin.add(vector.normalize( - this._radius - 0.1)); + this._hilite = this._origin.add( + vector.normalize(this._radius - 0.1)); } else { this._hilite = hilite; }