diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-05 21:55:36 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-05 21:55:36 -0500 |
| commit | b56d4f3c8774e059ed748dd4f831c1c743c7e40a (patch) | |
| tree | 0c0f52045e92fb485941eb3ea97f9e66dc5b1d79 /src/client/views/InkStrokeProperties.ts | |
| parent | 54c88f5bae9238a9182cc654ffa476a08797cd1b (diff) | |
started to clean up docdecorations and fix some ink rotation/sizing bugs.
Diffstat (limited to 'src/client/views/InkStrokeProperties.ts')
| -rw-r--r-- | src/client/views/InkStrokeProperties.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/InkStrokeProperties.ts b/src/client/views/InkStrokeProperties.ts index ce7f3d8d9..9257ee4e6 100644 --- a/src/client/views/InkStrokeProperties.ts +++ b/src/client/views/InkStrokeProperties.ts @@ -171,7 +171,7 @@ export class InkStrokeProperties { SelectionManager.Views().forEach(action(inkView => { const doc = Document(inkView.rootDoc); if (doc.type === DocumentType.INK && doc.x && doc.y && doc._width && doc._height && doc.data) { - doc.rotation = Number(doc.rotation) + Number(angle); + doc.rotation = NumCast(doc.rotation) + angle; const ink = Cast(doc.data, InkField)?.inkData; if (ink) { |
