mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-01-23 05:44:29 +08:00
Update spline_editor.js
This commit is contained in:
parent
9acc603b3e
commit
2f53c19ee2
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user