diff --git a/scripts/dotgrid.js b/scripts/dotgrid.js index e6b5d9e..485d39f 100644 --- a/scripts/dotgrid.js +++ b/scripts/dotgrid.js @@ -237,6 +237,9 @@ function Dotgrid(width,height,grid_x,grid_y,block_x,block_y,thickness = 3,lineca break; case "strokeLinecap": vector_element.style.strokeLinecap = value; + break; + case "stroke": + vector_element.style.stroke = value; } } } \ No newline at end of file diff --git a/template.interface.html b/template.interface.html index f5e61bf..82db721 100644 --- a/template.interface.html +++ b/template.interface.html @@ -33,6 +33,7 @@ + COLOR WIDTH @@ -43,15 +44,17 @@