Merge pull request #45 from ahocevar/strok-style

Fix typo - remove lines that set strokStyle
This commit is contained in:
javi santana 2014-09-23 14:44:36 +02:00
commit 9fe95831cc

View File

@ -5,7 +5,6 @@
var TAU = Math.PI*2; var TAU = Math.PI*2;
function renderPoint(ctx, st) { function renderPoint(ctx, st) {
ctx.fillStyle = st.fillStyle; ctx.fillStyle = st.fillStyle;
ctx.strokStyle = st.strokStyle;
var pixel_size = st['point-radius']; var pixel_size = st['point-radius'];
// render a circle // render a circle
@ -41,7 +40,6 @@
function renderRectangle(ctx, st) { function renderRectangle(ctx, st) {
ctx.fillStyle = st.fillStyle; ctx.fillStyle = st.fillStyle;
ctx.strokStyle = st.strokStyle;
var pixel_size = st['point-radius']; var pixel_size = st['point-radius'];
var w = pixel_size * 2; var w = pixel_size * 2;