Skip to content
Snippets Groups Projects
Commit c43c4d6b authored by Alexander Harkness's avatar Alexander Harkness Committed by Moritz Langenstein
Browse files

Vary code style to new homologated manner.

parent 4c421a50
No related branches found
No related tags found
1 merge request!45Brush size
...@@ -17,7 +17,7 @@ const lineFn = line() ...@@ -17,7 +17,7 @@ const lineFn = line()
const pathGroupElems = new Map() const pathGroupElems = new Map()
let stroke_colour = "blue" let stroke_colour = "blue"
export var stroke_radius = 1 export let stroke_radius = 1
export const MIN_STROKE_RADIUS = 0.1 export const MIN_STROKE_RADIUS = 0.1
export const MAX_STROKE_RADIUS = 3.9 export const MAX_STROKE_RADIUS = 3.9
...@@ -92,7 +92,7 @@ const createPathElem = (d, width) => { ...@@ -92,7 +92,7 @@ const createPathElem = (d, width) => {
export const renderPath = (id, points) => { export const renderPath = (id, points) => {
points = points.filter(([x]) => x != null) points = points.filter(([x]) => x != null)
let colour = "" let colour = ""
var radius = 0 let radius = 0
// Split up points into completely non-erased segments. // Split up points into completely non-erased segments.
let segments = [[]] let segments = [[]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment