Skip to content

Commit

Permalink
added shadowOffset to drawAlpha again
Browse files Browse the repository at this point in the history
  • Loading branch information
pa7 committed Jan 14, 2013
1 parent 4a93a67 commit 7ff8dee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,10 @@

ctx.shadowColor = ('rgba(0,0,0,'+((count)?(count/me.store.max):'0.1')+')');

actx.shadowOffsetX = 15000;
actx.shadowOffsetY = 15000;
actx.shadowBlur = 15;

ctx.beginPath();
ctx.arc(x - 15000, y - 15000, radius, 0, Math.PI * 2, true);
ctx.closePath();
Expand Down

0 comments on commit 7ff8dee

Please sign in to comment.