Replace unneeded beans access with local variable.

This commit is contained in:
Jürg Lehni 2011-05-19 20:20:32 +01:00
parent 1473d82456
commit a035f645fc

View file

@ -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(', ') + ')';
}