Fix: Reset control points before freehand draw
parent
860dca4339
commit
471035c0da
|
@ -1910,11 +1910,14 @@ const mouseDown = function (evt) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
} case 'fhellipse':
|
}
|
||||||
|
case 'fhellipse':
|
||||||
case 'fhrect':
|
case 'fhrect':
|
||||||
case 'fhpath':
|
case 'fhpath':
|
||||||
start.x = realX;
|
start.x = realX;
|
||||||
start.y = realY;
|
start.y = realY;
|
||||||
|
controllPoint1 = {x: 0, y: 0};
|
||||||
|
controllPoint2 = {x: 0, y: 0};
|
||||||
started = true;
|
started = true;
|
||||||
dAttr = realX + ',' + realY + ' ';
|
dAttr = realX + ',' + realY + ' ';
|
||||||
// Commented out as doing nothing now:
|
// Commented out as doing nothing now:
|
||||||
|
|
Loading…
Reference in New Issue