From b7902635bfdedb20749830a3771ed7f1b67dc165 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Wed, 9 Mar 2011 14:31:30 +0100 Subject: [PATCH] Color#setAlpha: comment out code using Math.min and Math.max, which was supposed to just be there to explain what is happening. --- src/color/Color.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color/Color.js b/src/color/Color.js index fc7ff912..5ef4fe0c 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -165,7 +165,7 @@ var Color = this.Color = Base.extend(new function() { }, setAlpha: function(alpha) { - this._alpha = Math.min(Math.max(alpha, 0), 1); + // this._alpha = Math.min(Math.max(alpha, 0), 1); this._alpha = alpha < 0 ? 0 : alpha > 1 ? 1 : alpha; this._cssString = null; },