diff options
| author | geireann <60007097+geireann@users.noreply.github.com> | 2021-08-02 15:44:44 -0400 |
|---|---|---|
| committer | geireann <60007097+geireann@users.noreply.github.com> | 2021-08-02 15:44:44 -0400 |
| commit | 94705e6cf119b9cdfcc0d857f71051eac10235c9 (patch) | |
| tree | 2d399160a319b7931b22f7b7fd38e9ad3483ea33 /src/client/views/DocumentDecorations.tsx | |
| parent | 1291e8a45ec9e3aeccd2ca74c0f549a18a16f0d7 (diff) | |
| parent | 44ed361a9f59a16bbd1b5f2483ba7eb10df2fa82 (diff) | |
Merge branch 'master' into sharing_scenario
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(), |
