aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
diff options
context:
space:
mode:
authoryunahi <60233430+yunahi@users.noreply.github.com>2020-10-01 18:41:45 +0900
committeryunahi <60233430+yunahi@users.noreply.github.com>2020-10-01 18:41:45 +0900
commit264292f75d17c19e65bc4707b10a713b64510cf1 (patch)
treef59e3fa33cb9169f138b13c39e63e2bebd8bec41 /src/client/views/InkingStroke.tsx
parent79de29454b4f4bac29987127e7251a7327befbc4 (diff)
fixed resize/rotate
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 186406424..2a7d4a5ad 100644
--- a/src/client/views/InkingStroke.tsx
+++ b/src/client/views/InkingStroke.tsx
@@ -48,6 +48,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;