From 0f4fba232ceed5377d2fad2db6ff4c3b97b36770 Mon Sep 17 00:00:00 2001 From: Edward Loper Date: Sun, 8 Dec 2024 01:02:04 -0500 Subject: [PATCH] Fix bug in click circle radius --- javascript/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/graph.js b/javascript/graph.js index aa24928..4b44121 100644 --- a/javascript/graph.js +++ b/javascript/graph.js @@ -1,6 +1,6 @@ class Graph { - constructor(draw, options) { + constructor(draw, options = {}) { this.draw = draw; this.dots = [] this.tris = []