Skip to content

Commit

Permalink
Small fix in canvas-grad
Browse files Browse the repository at this point in the history
  • Loading branch information
kralyk committed Jul 4, 2011
1 parent bd1d115 commit 1ac00c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canvas-grad.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
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);
Expand Down

0 comments on commit 1ac00c8

Please sign in to comment.