Directly access inner property.

This commit is contained in:
Jürg Lehni 2011-06-02 00:16:28 +01:00
parent 7dbda50431
commit 3a310f19cc

View file

@ -86,7 +86,7 @@ var Color = this.Color = Base.extend(new function() {
},
'gray-rgb': function(color) {
var comp = 1 - color.getGray();
var comp = 1 - color._gray;
return new RGBColor(comp, comp, comp, color._alpha);
},