diff options
author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2021-07-22 15:27:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 15:27:58 -0400 |
commit | a77809e5afdfa0952ceddf262d61b0a11e45a591 (patch) | |
tree | d4f1d87ed48619644b0913c46247f711d314a1f2 /src/client/views/DocumentDecorations.tsx | |
parent | 2b2329a928772b3e0d45fca1e99ef29116c582f2 (diff) | |
parent | 44f74e1e8ee82e76d32c6e5e0812ac04bf81c16c (diff) |
Merge pull request #21 from brown-dash/ink-gfx-victor
Ink Changes (Handle Tangency, Visual Updates, Control Point Creation)
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 65a97a49d..d24ab974c 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -201,7 +201,7 @@ export class DocumentDecorations extends React.Component<{ boundsLeft: number, b (e: PointerEvent, down: number[], delta: number[]) => { const movement = { X: delta[0], Y: e.clientY - down[1] }; const angle = Math.max(1, Math.abs(movement.Y / 10)); - InkStrokeProperties.Instance?.rotate(2 * movement.X / angle * (Math.PI / 180)); + InkStrokeProperties.Instance?.rotateInk(2 * movement.X / angle * (Math.PI / 180)); return false; }, () => this._rotateUndo?.end(), |