From 4271971d9c049bc4892f6289e659c2c72da791cd Mon Sep 17 00:00:00 2001 From: Nayeem Rahman <muhammed.rahman17@imperial.ac.uk> Date: Sat, 2 Nov 2019 18:59:53 +0000 Subject: [PATCH] Use hex notation for the default stroke colour --- public/index.html | 2 +- src/canvas.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 2786830..4e55a36 100644 --- a/public/index.html +++ b/public/index.html @@ -193,7 +193,7 @@ <b>Other colours</b> </div> <label id="colours"> - <input id="other-colours" type="color" value="blue" /> + <input id="other-colours" type="color" value="#0000ff" /> </label> </div> </div> diff --git a/src/canvas.js b/src/canvas.js index a03c9d5..5aceb59 100644 --- a/src/canvas.js +++ b/src/canvas.js @@ -16,7 +16,7 @@ const lineFn = line() const pathGroupElems = new Map() -let strokeColour = "blue" +let strokeColour = "#0000ff" let strokeRadius = 5 const MAX_POINT_DISTANCE = 5 -- GitLab