mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-04-30 21:39:08 +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]);
|
context.setSize([context.size[0], h + 410]);
|
||||||
updatePath();
|
updatePath();
|
||||||
}
|
}
|
||||||
|
pointsStoreWidget.callback = () => {
|
||||||
|
points = JSON.parse(pointsStoreWidget.value);
|
||||||
|
updatePath();
|
||||||
|
}
|
||||||
|
|
||||||
// Initialize or reset points array
|
// Initialize or reset points array
|
||||||
var drawHandles = false;
|
var drawHandles = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user