mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-09 12:54:40 +08:00
Force using shift modifier when selecting another spline
This commit is contained in:
parent
7afb0f906a
commit
b560966027
@ -928,11 +928,13 @@ this.lastMousePosition = { x: this.width/2, y: this.height/2 };
|
||||
this.vis.render();
|
||||
})
|
||||
.event("mousedown", () => {
|
||||
if (this.activeSplineIndex !== splineIndex) {
|
||||
this.activeSplineIndex = splineIndex;
|
||||
this.refreshSplineElements();
|
||||
}
|
||||
});
|
||||
if (pv.event.shiftKey) {
|
||||
if (this.activeSplineIndex !== splineIndex) {
|
||||
this.activeSplineIndex = splineIndex;
|
||||
this.refreshSplineElements();
|
||||
}
|
||||
}}
|
||||
);
|
||||
|
||||
this.lineObjects.push(lineObj);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user