Merge pull request #45 from ahocevar/strok-style
Fix typo - remove lines that set strokStyle
This commit is contained in:
commit
9fe95831cc
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user