Skip to content

Commit

Permalink
Change color to colorAt.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Oct 11, 2015
1 parent edf9412 commit b413365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function bitmap (width, height, byteWidth, bitsPerPixel, bytesPerPixel, image)
this.image = image;
}

bitmap.prototype.color = function(x, y)
bitmap.prototype.colorAt = function(x, y)
{
return robotjs.getColor(this, x, y);
};
Expand Down

0 comments on commit b413365

Please sign in to comment.