fix: ghost point issue when moving a shape after dragging a point in the line editor (#9530)

fix: ghost point issue when moving a shape after
dragging a point in the line editor
This commit is contained in:
cheapster 2025-05-27 01:04:41 +05:30 committed by GitHub
parent fc3e062074
commit db2911c6c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -551,6 +551,8 @@ export class LinearElementEditor {
return { return {
...editingLinearElement, ...editingLinearElement,
...bindings, ...bindings,
segmentMidPointHoveredCoords: null,
hoverPointIndex: -1,
// if clicking without previously dragging a point(s), and not holding // if clicking without previously dragging a point(s), and not holding
// shift, deselect all points except the one clicked. If holding shift, // shift, deselect all points except the one clicked. If holding shift,
// toggle the point. // toggle the point.