Force using shift modifier when selecting another spline

This commit is contained in:
kijai 2025-06-16 01:48:56 +03:00
parent 7afb0f906a
commit b560966027

View File

@ -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);
}