added color selector

This commit is contained in:
eelfroth
2017-01-06 04:38:24 +01:00
parent b63d6ce4f1
commit 2fcf524e79
2 changed files with 15 additions and 9 deletions

View File

@@ -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;
}
}
}