mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2026-06-04 07:31:19 +08:00
Update spline_editor.js
This commit is contained in:
parent
f3fcc2d37d
commit
f891eb9e0f
@ -447,7 +447,8 @@ function createSplineEditor(context, reset=false) {
|
|||||||
svgElement.style['zIndex'] = "2"
|
svgElement.style['zIndex'] = "2"
|
||||||
svgElement.style['position'] = "relative"
|
svgElement.style['position'] = "relative"
|
||||||
context.splineEditor.element.appendChild(svgElement);
|
context.splineEditor.element.appendChild(svgElement);
|
||||||
var pathElements = svgElement.getElementsByTagName('path'); // Get all path elements
|
var pathElements = svgElement.getElementsByTagName('path'); // Get all path elements
|
||||||
|
updatePath();
|
||||||
|
|
||||||
}
|
}
|
||||||
function samplePoints(svgPathElement, numSamples) {
|
function samplePoints(svgPathElement, numSamples) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user