Skip to content

Commit 2e8f75f

Browse files
committed
Merge pull request remy#13 from kralyk/master
canvas-grad.html fix
2 parents bd1d115 + 1ac00c8 commit 2e8f75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canvas-grad.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
x = event.clientX,
4848
y = event.clientY,
4949
rx = 600 * x / width,
50-
ry = 600 * y / width;
50+
ry = 600 * y / height;
5151

5252
var xc = ~~(256 * x / width);
5353
var yc = ~~(256 * y / height);

0 commit comments

Comments
 (0)