diff --git a/web/js/spline_editor.js b/web/js/spline_editor.js index 8f03f66..aa33843 100644 --- a/web/js/spline_editor.js +++ b/web/js/spline_editor.js @@ -357,6 +357,10 @@ function createSplineEditor(context, reset=false) { context.setSize([context.size[0], h + 410]); updatePath(); } + pointsStoreWidget.callback = () => { + points = JSON.parse(pointsStoreWidget.value); + updatePath(); + } // Initialize or reset points array var drawHandles = false;