aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-01-11 13:59:41 -0500
committerGitHub <noreply@github.com>2021-01-11 13:59:41 -0500
commit4a64a15b173c1e221b157608a4f07a1760e1b402 (patch)
tree4f3a23eaa177c2cd9a36efdadd89dc5a1146e318 /src/client/views/InkingStroke.tsx
parentff7df91f8502e3753e28d742ef8b5dd2ff33c801 (diff)
parent761596b7bb7b4cab18e1e1df62330a3a11a7af03 (diff)
Merge pull request #946 from browngraphicslab/ink_edits
Ink edits
Diffstat (limited to 'src/client/views/InkingStroke.tsx')
-rw-r--r--src/client/views/InkingStroke.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx
index dbe2d73d1..8df7f7eef 100644
--- a/src/client/views/InkingStroke.tsx
+++ b/src/client/views/InkingStroke.tsx
@@ -47,6 +47,7 @@ export class InkingStroke extends ViewBoxBaseComponent<FieldViewProps, InkDocume
@action
onControlDown = (e: React.PointerEvent, i: number): void => {
//TODO:renew points before controlling
+ InkStrokeProperties.Instance?.control(0.001, 0.001, 1);
setupMoveUpEvents(this, e, this.onControlMove, this.onControlup, (e) => { });
this._controlUndo = UndoManager.StartBatch("DocDecs set radius");
this._prevX = e.clientX;