diff options
| author | bobzel <zzzman@gmail.com> | 2021-11-30 16:15:06 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-11-30 16:15:06 -0500 |
| commit | f313cfa5ae644eadb57d936bc81bd355e0c88e17 (patch) | |
| tree | fdbc902a89c24c9d382553cddf361a39e55cbe2a /src/client/views/InkingStroke.tsx | |
| parent | 061dab5285d3a334a258d8097a6e95b065b30de3 (diff) | |
change delete points for ink to try to preserve the shape as much as possible. Shift + backspace deletes the point without preserving geometry
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
| -rw-r--r-- | src/client/views/InkingStroke.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx index ecc82a580..8ff080f81 100644 --- a/src/client/views/InkingStroke.tsx +++ b/src/client/views/InkingStroke.tsx @@ -132,7 +132,7 @@ export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps, InkDocume } else if (isEditing) { this._nearestT && this._nearestSeg !== undefined && InkStrokeProperties.Instance?.addPoints(this.props.docViewPath().lastElement(), this._nearestT, this._nearestSeg, this.inkScaledData().inkData.slice()); } - }), isEditing, isEditing, () => wasSelected && InkStrokeProperties.Instance && (InkStrokeProperties.Instance._currentPoint = -1)); + }), isEditing, isEditing, action(() => wasSelected && InkStrokeProperties.Instance && (InkStrokeProperties.Instance._currentPoint = -1))); } } |
