Permalink
Browse files

Merge branch 'master' of github.com:remy/html5demos

  • Loading branch information...
2 parents d0e8e48 + 2e8f75f commit fec9a0949c42ca138daf2bc6c15ccfeb24e4a412 @remy committed Jul 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 canvas-grad.html
View
@@ -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);

0 comments on commit fec9a09

Please sign in to comment.