Merge pull request #13 from kralyk/master

canvas-grad.html fix
This commit is contained in:
Remy Sharp 2011-07-04 06:21:44 -07:00
commit 2e8f75fde0
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if (canvas.getContext('2d')) {
x = event.clientX,
y = event.clientY,
rx = 600 * x / width,
ry = 600 * y / width;
ry = 600 * y / height;
var xc = ~~(256 * x / width);
var yc = ~~(256 * y / height);