mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix RGBColor#setGray.
This commit is contained in:
parent
2712bd0419
commit
73df06150a
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ RGBColor = Color.extend(new function() {
|
||||||
|
|
||||||
setGray: function(gray) {
|
setGray: function(gray) {
|
||||||
this._cssString = null;
|
this._cssString = null;
|
||||||
this._red = this._green = this._blue = gray;
|
this._red = this._green = this._blue = 1 - gray;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue