From a035f645fc876225af12be2ac6fd09e71f5d98f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Thu, 19 May 2011 20:20:32 +0100 Subject: [PATCH] Replace unneeded beans access with local variable. --- 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 b7f4de77..826e1fcc 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -339,7 +339,7 @@ var Color = this.Color = Base.extend(new function() { Math.round(color.getRed() * 255), Math.round(color.getGreen() * 255), Math.round(color.getBlue() * 255), - alpha != null ? this.alpha : 1 + alpha != null ? alpha : 1 ]; this._cssString = 'rgba(' + components.join(', ') + ')'; }