Browse files

Small fix in canvas-grad

  • Loading branch information...
1 parent bd1d115 commit 1ac00c8effba1560775fed4ac716d442e49e8692 kralyk committed Jul 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 canvas-grad.html
View
2 canvas-grad.html
@@ -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 1ac00c8

Please sign in to comment.