diff options
Diffstat (limited to 'src/client/views/InkStrokeProperties.ts')
-rw-r--r-- | src/client/views/InkStrokeProperties.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client/views/InkStrokeProperties.ts b/src/client/views/InkStrokeProperties.ts index ee30caa3d..ba85b851c 100644 --- a/src/client/views/InkStrokeProperties.ts +++ b/src/client/views/InkStrokeProperties.ts @@ -259,11 +259,17 @@ export class InkStrokeProperties { if (near / (this.selectedInk?.lastElement().props.ScreenToLocalTransform().Scale || 1) < 10) { return this.moveControlPtHandle((nearestPt.X - ink[controlIndex].X) * ptsXscale, (nearestPt.Y - ink[controlIndex].Y) * ptsYscale, controlIndex); + } else { + return } } return false; } + // snapControlBetweenCurves = (ink, controlIndex) => { + + // } + /** * Snaps a control point with broken tangency back to synced rotation. * @param handleIndexA The handle point that retains its current position. |