kopia lustrzana https://github.com/backface/turtlestitch
one more typo fix
rodzic
afabba0e95
commit
6423c64219
|
@ -1254,7 +1254,7 @@ SpriteMorph.prototype.setColor = function (aColor) {
|
|||
|
||||
|
||||
SpriteMorph.prototype.setColorRGB = function (r,g,b) {
|
||||
if (!isFinite(a) || !isFinite(b) || !isFinite(c)) {
|
||||
if (!isFinite(r) || !isFinite(b) || !isFinite(g)) {
|
||||
throw new Error('value must not by Infinity');
|
||||
}
|
||||
var a = this.color.a;
|
||||
|
|
Ładowanie…
Reference in New Issue